Adjust login/logout/profile urls to match djangos
This commit is contained in:
parent
71b352253a
commit
de96367256
@ -30,10 +30,10 @@
|
||||
|
||||
<ul class="menu">
|
||||
{% if user.is_authenticated %}
|
||||
<li>{% blocktrans with user.get_full_name as name %}Logged in as <a href="/profile/">{{ name }}</a>{% endblocktrans %}</li>
|
||||
<li><a href="/logout/">{% trans "Logout" %}</a></li>
|
||||
<li>{% blocktrans with user.get_full_name as name %}Logged in as <a href="/accounts/profile/">{{ name }}</a>{% endblocktrans %}</li>
|
||||
<li><a href="/accounts/logout/">{% trans "Logout" %}</a></li>
|
||||
{% else %}
|
||||
<li><a href="/login/">{% trans "Login" %}</a></li>
|
||||
<li><a href="/accounts/login/">{% trans "Login" %}</a></li>
|
||||
{% endif %}
|
||||
</ul>
|
||||
|
||||
|
@ -35,7 +35,7 @@
|
||||
{% if user.is_authenticated %}
|
||||
<input class="button" type="submit" value="{% trans "Save" %}" name="save" />
|
||||
{% else %}
|
||||
{% blocktrans %}<a href="/login/">Login</a> for saving translations.{% endblocktrans %}
|
||||
{% blocktrans %}<a href="/accounts/login/">Login</a> for saving translations.{% endblocktrans %}
|
||||
{% endif %}
|
||||
<input class="button" type="submit" value="{% trans "Suggest" %}" name="suggest" />
|
||||
</td></tr>
|
||||
|
Loading…
Reference in New Issue
Block a user