diff --git a/cotisations/templates/cotisations/aff_cotisations.html b/cotisations/templates/cotisations/aff_cotisations.html index 30de85dc..93384106 100644 --- a/cotisations/templates/cotisations/aff_cotisations.html +++ b/cotisations/templates/cotisations/aff_cotisations.html @@ -78,7 +78,7 @@ with this program; if not, write to the Free Software Foundation, Inc., {% if facture.valid %} - {% trans "PDF" %} + {% trans "PDF" %} {% else %} {% trans "Invalidated invoice" %} diff --git a/cotisations/templates/cotisations/aff_custom_invoice.html b/cotisations/templates/cotisations/aff_custom_invoice.html index 41984c2c..0f4605ad 100644 --- a/cotisations/templates/cotisations/aff_custom_invoice.html +++ b/cotisations/templates/cotisations/aff_custom_invoice.html @@ -76,7 +76,7 @@ with this program; if not, write to the Free Software Foundation, Inc., {% acl_end %} {% history_button invoice %} - {% trans "PDF" %} + {% trans "PDF" %} diff --git a/machines/templates/machines/aff_machines.html b/machines/templates/machines/aff_machines.html index e3404036..76ba3451 100644 --- a/machines/templates/machines/aff_machines.html +++ b/machines/templates/machines/aff_machines.html @@ -52,7 +52,7 @@ with this program; if not, write to the Free Software Foundation, Inc., {% trans "No name" as tr_no_name %} {% trans "View the profile" as tr_view_the_profile %} - {{ machine.name|default:'tr_no_name' }} + {{ machine.name|default:'tr_no_name' }} {{ machine.user }} diff --git a/static/css/base.css b/static/css/base.css index ec151adb..736935b3 100644 --- a/static/css/base.css +++ b/static/css/base.css @@ -12,10 +12,10 @@ footer p { .navbar { margin-bottom: 0; } .pt4 { padding-top: 1.5rem!important; } -/* Reserv space for icons and align */ +/* Reserve space for icons and align */ a > i.fa { display: inline-block; - width: 26px; + width: 16px; text-align: center; } @@ -64,10 +64,9 @@ a > i.fa { } } -/* Set height of the grid so .sidenav can be 100% (adjust as needed) */ +/* Set height of the grid so footer stay on footer */ .row.content { - height: 100%; - overflow: auto; + min-height: 70vh; } /* Set gray background color */ @@ -111,6 +110,7 @@ a > i.fa { .modal-dialog { width: 1000px } +} /* For tables with long text in cells */ diff --git a/templates/base.html b/templates/base.html index 8b661259..b2217618 100644 --- a/templates/base.html +++ b/templates/base.html @@ -223,7 +223,9 @@ with this program; if not, write to the Free Software Foundation, Inc., {% else %} -

{% trans "You are not logged in." %}

+
+

{% trans "You are not logged in." %}

+
{% endif %} {% if request_user.is_authenticated %} diff --git a/templates/registration/login.html b/templates/registration/login.html index e169c321..c34c7582 100644 --- a/templates/registration/login.html +++ b/templates/registration/login.html @@ -32,8 +32,9 @@ with this program; if not, write to the Free Software Foundation, Inc.,
{% csrf_token %} {% bootstrap_form form %} - +

{% trans "Forgotten password?" %}