"new-style" url tag (django 1.5)
This commit is contained in:
parent
058a6252d8
commit
156261608b
|
@ -17,9 +17,9 @@
|
|||
<dd>{{ value }}</dd>
|
||||
{% endfor %}
|
||||
</dl>
|
||||
<p> <a href="{% url profiles_edit_profile %}">{% trans "Edit profile" %}</a></p>
|
||||
<p> <a href="{% url "profiles_edit_profile" %}">{% trans "Edit profile" %}</a></p>
|
||||
{% else %}
|
||||
<p> <a href="{% url profiles_create_profile %}">{% trans "Create profile" %}</a></p>
|
||||
<p> <a href="{% url "profiles_create_profile" %}">{% trans "Create profile" %}</a></p>
|
||||
{% endif %}
|
||||
</div>
|
||||
<h3>{% trans "Credentials" %}</h3>
|
||||
|
|
|
@ -15,6 +15,6 @@
|
|||
{% if user.is_staff %}
|
||||
<a class="btn btn-success" id="users_admin" href="/users-admin/"><i class="icon-wrench"></i> Gestion des invités</a>
|
||||
{% endif %}
|
||||
<a class="btn" id="logout" href="{% url auth_logout %}"><i class="icon-off"></i> {% trans "Log out" %}</a>
|
||||
<a class="btn" id="logout" href="{% url "auth_logout" %}"><i class="icon-off"></i> {% trans "Log out" %}</a>
|
||||
|
||||
{% endblock %}
|
||||
|
|
Reference in New Issue