diff --git a/templates/user_login.html b/templates/user_login.html index 114843652b..6cd72255bb 100644 --- a/templates/user_login.html +++ b/templates/user_login.html @@ -1,44 +1,44 @@ {% if user.is_authenticated() %} -{% if tools_links and tools_links|count > 1 %} - -{% else %} -

- {{ tools_links[0].text }} -

-{% endif %} - + {% else %} +

+ {{ tools_links[0].text }} +

+ {% endif %} + {% endif %}

{% if user.is_authenticated() %} - - {{ _('Welcome, {0}')|f(user.get_profile().welcome_name) }} - + + {{ _('Welcome, {0}')|f(user.get_profile().welcome_name) }} + {% else %} - {# TODO(jbalogh): reverse #} - {% trans reg="/users/register", login=login_link() %} - Register or Log in - {% endtrans %} + {# TODO(jbalogh): reverse #} + {% trans reg="/users/register", login=login_link() %} + Register or Log in + {% endtrans %} {% endif %}