]> git.openstreetmap.org Git - osqa.git/blobdiff - forum/skins/default/templates/users/info.html
OSQA-459, making some headers in the user stats template translatable
[osqa.git] / forum / skins / default / templates / users / info.html
index 8ffc7fa5cb385066cfaadcac3c100fbabad76c4c..55b90ce738ee5061517423137b6588cebf1b3a8c 100644 (file)
@@ -8,7 +8,7 @@
 {% load user_tags %}
 
 <div id="subheader" class="headUser{% if view_user.is_suspended %} suspended-user{% endif %}">
 {% load user_tags %}
 
 <div id="subheader" class="headUser{% if view_user.is_suspended %} suspended-user{% endif %}">
-    {{view_user.username}}
+    {{view_user.decorated_name}}
 </div>
 <table class="user-info-table">
     <tr>
 </div>
 <table class="user-info-table">
     <tr>
@@ -51,7 +51,7 @@
                 {% if view_user.last_seen %}
                 <tr>
                     <td>{% trans "last seen" %}</td>
                 {% if view_user.last_seen %}
                 <tr>
                     <td>{% trans "last seen" %}</td>
-                    <td><strong title="{{ view_user.last_login }}">{% diff_date view_user.last_login %}</strong></td>
+                    <td><strong title="{{ view_user.last_activity }}">{% diff_date view_user.last_activity %}</strong></td>
                 </tr>
                 {% endif %}
                 {% if view_user.website %}
                 </tr>
                 {% endif %}
                 {% if view_user.website %}
@@ -79,7 +79,7 @@
                 <tr>
                     <td>{% trans "email" %}</td>
                     <td>
                 <tr>
                     <td>{% trans "email" %}</td>
                     <td>
-                        <a href="mailto: {{ view_user.email }}">{{ view_user.email }}</a>
+                        <a href="mailto:{{ view_user.email }}">{{ view_user.email }}</a>
                         {% if not view_user.email_isvalid %}
                             ({% trans "not validated" %})
                             {% ifequal request.user view_user %}
                         {% if not view_user.email_isvalid %}
                             ({% trans "not validated" %})
                             {% ifequal request.user view_user %}