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