Browse Source

convert urls

Natenom/support-murmur-13-1446181288462
Michael Ziegler 16 years ago
parent
commit
09fd92264d
  1. 8
      template/registration/profile.html

8
template/registration/profile.html

@ -13,7 +13,7 @@
<ul> <ul>
{% for mm in mumbleaccs %} {% for mm in mumbleaccs %}
<li> <li>
{{ mm.name }} on Server <a href="/mumble/{{mm.server.id}}">{{ mm.server.name }}</a> (<a href="/mumble/reg/{{mm.server.id}}">Set Password</a>)
{{ mm.name }} on Server <a href="{% url mumble.views.show mm.server.id %}">{{ mm.server.name }}</a>
</li> </li>
{% endfor %} {% endfor %}
</ul> </ul>
@ -26,11 +26,11 @@
<ul> <ul>
<li>Full Name: {{ user.first_name }} {{ user.last_name }}</li> <li>Full Name: {{ user.first_name }} {{ user.last_name }}</li>
<li>E-Mail Adress: {{ user.email }}</li> <li>E-Mail Adress: {{ user.email }}</li>
<li>Staff: {% if user.is_staff %} yes <a href="/admin">(admin area)</a> {% else %} no {% endif %}</li>
<li>Staff: {% if user.is_staff %} yes <a href="{% url admin:index %}">(admin area)</a> {% else %} no {% endif %}</li>
<li>Sign-up date: {{ user.date_joined }}</li> <li>Sign-up date: {{ user.date_joined }}</li>
<li>Last login: {{ user.last_login }}</li> <li>Last login: {{ user.last_login }}</li>
<li><a href="/accounts/password/change">Change Password</a></li>
<li><a href="/accounts/logout">Logout</a></li>
<li><a href="{% url django.contrib.auth.views.password_change %}">Change Password</a></li>
<li><a href="{% url django.contrib.auth.views.logout %}">Logout</a></li>
</ul> </ul>
</div> </div>
{% endblock %} {% endblock %}

Loading…
Cancel
Save