Commit 751dd22d authored by Bryan  BRANCOTTE's avatar Bryan BRANCOTTE
Browse files

unify "Log in" variants

parent dcb9c303
...@@ -82,7 +82,7 @@ ...@@ -82,7 +82,7 @@
<ul class="nav navbar-nav navbar-right"> <ul class="nav navbar-nav navbar-right">
{% block extra_li_dropdown_right %}{% endblock %} {% block extra_li_dropdown_right %}{% endblock %}
{%if not request.user.is_authenticated %} {%if not request.user.is_authenticated %}
<li class=""><a href="{% url 'basetheme_bootstrap:login'%}?next={{ request.path|urlencode }}">{% block sign_in_word %}{%trans "Login "%}{% endblock %}<i class="fa fa-sign-in"></i></a></li> <li class=""><a href="{% url 'basetheme_bootstrap:login'%}?next={{ request.path|urlencode }}">{% block sign_in_word %}{%trans "Login"%} {% endblock %}<i class="fa fa-sign-in"></i></a></li>
{%else%} {%else%}
<li class="dropdown"> <li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true"
......
{% load i18n %} {% load i18n %}
{%if not request.user.is_authenticated %} {%if not request.user.is_authenticated %}
<li class="nav-item {{li_additional_class}}"><a class="nav-link" href="{% url 'basetheme_bootstrap:login'%}?next={{ request.path|urlencode }}">{% block sign_in_word %}{%trans "Login "%}{% endblock %}<i class="fa fa-sign-in-alt"></i></a></li> <li class="nav-item {{li_additional_class}}"><a class="nav-link" href="{% url 'basetheme_bootstrap:login'%}?next={{ request.path|urlencode }}">{% block sign_in_word %}{%trans "Login"%} {% endblock %}<i class="fa fa-sign-in-alt"></i></a></li>
{%else%} {%else%}
<li class="nav-item dropdown {{li_additional_class}}"> <li class="nav-item dropdown {{li_additional_class}}">
<a class="nav-link dropdown-toggle" <a class="nav-link dropdown-toggle"
......
...@@ -5,5 +5,5 @@ ...@@ -5,5 +5,5 @@
{% block page_title %}{{ title }}{% endblock %} {% block page_title %}{{ title }}{% endblock %}
{% block sub_message%} {% block sub_message%}
{% trans "Your password has been set. You may go ahead and log in now." %} {% trans "Your password has been set. You may go ahead and log in now." %}
<a href="{{ login_url }}?next={%url 'home'%}">{% trans 'Log in' %}</a> <a href="{{ login_url }}?next={%url 'home'%}">{% trans 'Login' %}</a>
{% endblock %} {% endblock %}
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment