mirror of
https://github.com/Llloooggg/WhereToGo.git
synced 2026-03-06 20:46:24 +03:00
Перевод для базового шаблона
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
{% load static %}
|
||||
|
||||
{% load i18n %}
|
||||
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
|
||||
@@ -23,16 +25,16 @@
|
||||
{{ user.username }}
|
||||
</a>
|
||||
<ul class="dropdown-menu dropdown-menu-end" aria-labelledby="navbarDropdownMenuLink">
|
||||
<li><a class="dropdown-item" href="{% url 'account_email' %}">Change E-mail</a></li>
|
||||
<li><a class="dropdown-item" href="{% url 'account_logout' %}">Sign Out</a></li>
|
||||
<li><a class="dropdown-item" href="{% url 'account_email' %}">{% trans "Change E-mail" %}</a></li>
|
||||
<li><a class="dropdown-item" href="{% url 'account_logout' %}">{% trans "Sign Out" %}</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
{% else %}
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" href="{% url 'account_login' %}">Sign In</a>
|
||||
<a class="nav-link" href="{% url 'account_login' %}">{% trans "Sign In" %}</a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" href="{% url 'account_signup' %}">Sign Up</a>
|
||||
<a class="nav-link" href="{% url 'account_signup' %}">{% trans "Sign Up" %}</a>
|
||||
</li>
|
||||
{% endif %}
|
||||
</ul>
|
||||
|
||||
Reference in New Issue
Block a user