From 155438cdc1da0e00996eebca97cb6581f06811e3 Mon Sep 17 00:00:00 2001 From: Elrond Date: Tue, 19 Feb 2013 17:14:13 +0100 Subject: [PATCH] Fix some small bits in base.html. 1. Add a trailing slash to the mediagoblin.org URL. (The string changed anyway, so translations are not affected more than already.) 2. Order was wrong for those two at the end (old version): {% endblock mediagoblin_body %} 3. Fix some little indenting issues. 4. Remove some useless space from the output. --- mediagoblin/templates/mediagoblin/base.html | 25 +++++++++++---------- 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/mediagoblin/templates/mediagoblin/base.html b/mediagoblin/templates/mediagoblin/base.html index 48ab750f..5db8bf0f 100644 --- a/mediagoblin/templates/mediagoblin/base.html +++ b/mediagoblin/templates/mediagoblin/base.html @@ -48,7 +48,7 @@ {%- include "mediagoblin/bits/logo.html" -%} {% block mediagoblin_header_title %}{% endblock %}
- {% if request.user %} + {%- if request.user %} {% if request.user and request.user.status == 'active' %}
@@ -60,11 +60,12 @@ {% trans %}Verify your email!{% endtrans %} or {% trans %}log out{% endtrans %} {% endif %} - {% else %} + {%- else %} - {% trans %}Log in{% endtrans %} - {% endif %} + {%- trans %}Log in{% endtrans -%} + + {%- endif %}
{% if request.user and request.user.status == 'active' %} @@ -107,23 +108,23 @@ {% endif %} {% endblock %} -
-
+
+
{% include "mediagoblin/utils/messages.html" %} {% block mediagoblin_content %} {% endblock mediagoblin_content %} -
- {% block mediagoblin_footer %} +
+ {%- block mediagoblin_footer %} - {% endblock mediagoblin_footer %} - {% endblock mediagoblin_body %} -
+ {%- endblock mediagoblin_footer %} +
+ {%- endblock mediagoblin_body %} -- 2.25.1