]> git.openstreetmap.org Git - osqa.git/blobdiff - forum/skins/default/templates/header.html
Some extra admin stuff and applied a patch from Ekalinin on OSQA 95.
[osqa.git] / forum / skins / default / templates / header.html
index c53604ca3afe559be2486688c745d1a6116805b5..64056b61d15658bef3e9339218b3fc38b44d7c58 100644 (file)
@@ -8,7 +8,7 @@
                     {% if request.user.is_superuser %}
                         <a href="{% url admin_index %}">{% trans "administration" %}</a>   
                     {% endif %}
-                    <a href="{% url user_profile id=request.user.id,slug=request.user.username|slugify %}">{{ request.user.username }}</a> {% get_score_badge request.user %} 
+                    <a href="{{ request.user.get_profile_url }}">{{ request.user.username }}</a> {% get_score_badge request.user %} 
                     <a href="{% url logout %}">{% trans "logout" %}</a>
                 {% else %}
                     <a href="{% url auth_signin %}">{% trans "login" %}</a>