Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Bryan BRANCOTTE
django-basetheme-bootstrap
Commits
751dd22d
Commit
751dd22d
authored
Nov 08, 2021
by
Bryan BRANCOTTE
Browse files
unify "Log in" variants
parent
dcb9c303
Changes
3
Hide whitespace changes
Inline
Side-by-side
basetheme_bootstrap/templates/basetheme_bootstrap/base.html
View file @
751dd22d
...
...
@@ -82,7 +82,7 @@
<ul
class=
"nav navbar-nav navbar-right"
>
{% block extra_li_dropdown_right %}{% endblock %}
{%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%}
<li
class=
"dropdown"
>
<a
href=
"#"
class=
"dropdown-toggle"
data-toggle=
"dropdown"
role=
"button"
aria-haspopup=
"true"
...
...
basetheme_bootstrap/templates/basetheme_bootstrap/login_menu.html
View file @
751dd22d
{% load i18n %}
{%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%}
<li
class=
"nav-item dropdown {{li_additional_class}}"
>
<a
class=
"nav-link dropdown-toggle"
...
...
basetheme_bootstrap/templates/registration/password_reset_complete.html
View file @
751dd22d
...
...
@@ -5,5 +5,5 @@
{% block page_title %}{{ title }}{% endblock %}
{% block sub_message%}
{% 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 %}
\ No newline at end of file
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment