]> git.openstreetmap.org Git - osqa.git/blobdiff - forum/skins/default/templates/users/info.html
Some extra admin stuff and applied a patch from Ekalinin on OSQA 95.
[osqa.git] / forum / skins / default / templates / users / info.html
index 38cab07e64404f9b21c5bd7cbe0df52f26581bef..919ab8b240f889d98bf6551c374ec84347e4e8c5 100644 (file)
                     </td>
                 </tr>
                 {% endif %}
-                {% ifequal request.user view_user %}
+                {% if can_view_private %}
                 <tr>
                     <td class="user-profile-tool-links" align="left" colspan="2">
                         {% joinitems using ' | ' %}
-                            <span class="user-edit-link"><a href="{% url users %}{{ view_user.id }}/{% trans "edit/" %}">{% trans "update profile" %}</a></span>
+                            <span class="user-edit-link"><a href="{% url edit_user id=view_user.id %}">{% trans "update profile" %}</a></span>
                         {% separator %}
-                            <a href="{% url user_authsettings %}">authentication settings</a>
+                            <a href="{% url user_authsettings id=view_user.id %}">{% trans "authentication settings" %}</a>
                         {% endjoinitems %}
                     </td>
                 </tr>  
-                {% endifequal %}
+                {% endif %}
                 <tr>
                     <th colspan="2" align="left"><h3>{% trans "Registered user" %}</h3></th>
                 </tr>