]> git.openstreetmap.org Git - osqa.git/blobdiff - forum/skins/default/templates/users/info.html
Visual indication of community wiki, and made the markddown_help use base_content...
[osqa.git] / forum / skins / default / templates / users / info.html
index 38cab07e64404f9b21c5bd7cbe0df52f26581bef..efe2b43822f03f5a24f8655f43085cda30ee32d2 100644 (file)
@@ -6,6 +6,7 @@
 {% load i18n %}
 {% load markup %}
 {% load user_tags %}
+
 <div id="subheader" class="headUser">
     {{view_user.username}}
 </div>
                 </tr>
                 <tr>
                     <td align="center">
-                        <div class="scoreNumber">{{view_user.reputation|intcomma}}</div>
+                        <div class="scoreNumber" id="user-reputation">{{view_user.reputation|intcomma}}</div>
                         <p><b style="color:#777;">{% trans "reputation" %}</b></p>
                     </td>
                 </tr>
             </table>
         </td>
         <td width="360" style="vertical-align: top;">
+        {% if can_view_private %}{% user_menu request.user view_user %}{% endif %}
             <table class="user-details">
-                {% if view_user != request.user and request.user.is_superuser %}
-                <tr>
-                    <td class="moderation" align="left" colspan="2">
-                        {% comment %}{% user_moderation request.user view_user %}{% endcomment %}
-                    </td>
-                </tr>
-                {% endif %}
-                {% ifequal request.user view_user %}
-                <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>
-                        {% separator %}
-                            <a href="{% url user_authsettings %}">authentication settings</a>
-                        {% endjoinitems %}
-                    </td>
-                </tr>  
-                {% endifequal %}
                 <tr>
                     <th colspan="2" align="left"><h3>{% trans "Registered user" %}</h3></th>
                 </tr>