Skip to content

Commit

Permalink
Add the version number of the platform to the site footer
Browse files Browse the repository at this point in the history
Top navbar was covered in the previous commit
40a6580
  • Loading branch information
markkuriekkinen committed Oct 27, 2021
1 parent 40a6580 commit f51819f
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 3 deletions.
2 changes: 1 addition & 1 deletion assets/css/main.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/css/main.css.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/sass/layout/_base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ body {
.site-content {
padding-bottom: 70px;
@media (max-width: $grid-float-breakpoint-max) {
padding-bottom: 200px;
padding-bottom: 250px;
}
}
10 changes: 10 additions & 0 deletions assets/sass/layout/_footer.scss
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,14 @@
color: #236aa7;
}
}

.navbar-text {
color: $gray;

@media (max-width: $grid-float-breakpoint-max) {
// Use the same layout as the navbar links.
padding: $nav-link-padding;
margin: 0;
}
}
}
1 change: 1 addition & 0 deletions templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,7 @@ <h4>{% translate "SITE" %}</h4>
<li><a href="{% url 'accessibility_statement' %}">{% translate "ACCESSIBILITY_STATEMENT" %}</a></li>
<li><a href="{% url 'support_channels' %}">{% translate "SUPPORT" %}</a></li>
<li><a href="https://link.webropol.com/s/aplus-feedback" target="_blank">{% translate "FEEDBACK" %}</a></li>
<li><p class="navbar-text">{% brand_name %} {{ APLUS_VERSION }}</p></li>
</ul>
</div>
</div>
Expand Down

0 comments on commit f51819f

Please sign in to comment.