1 <!-- user_info.html -->
3 {% load extra_filters %}
8 <div id="subheader" class="headUser">
11 <table class="user-info-table">
13 <td width="180" style="vertical-align:middle;text-align:center;">
17 {% gravatar view_user 128 %}
22 <div class="scoreNumber">{{view_user.reputation|intcomma}}</div>
23 <p><b style="color:#777;">{% trans "reputation" %}</b></p>
28 <td width="360" style="vertical-align: top;">
29 <table class="user-details">
30 {% if view_user != request.user and request.user.is_superuser %}
32 <td class="moderation" align="left" colspan="2">
33 {% comment %}{% user_moderation request.user view_user %}{% endcomment %}
37 {% ifequal request.user view_user %}
39 <td class="user-profile-tool-links" align="left" colspan="2">
40 {% joinitems using ' | ' %}
41 <span class="user-edit-link"><a href="{% url users %}{{ view_user.id }}/{% trans "edit/" %}">{% trans "update profile" %}</a></span>
43 <a href="{% url user_authsettings %}">authentication settings</a>
49 <th colspan="2" align="left"><h3>{% trans "Registered user" %}</h3></th>
51 {% if view_user.real_name %}
53 <td>{% trans "real name" %}</td>
54 <td><b>{{view_user.real_name}}</b></td>
58 <td>{% trans "member for" %}</td>
59 <td><strong>{% diff_date view_user.date_joined %}</strong></td>
61 {% if view_user.last_seen %}
63 <td>{% trans "last seen" %}</td>
64 <td><strong title="{{ view_user.last_seen }}">{% diff_date view_user.last_seen %}</strong></td>
67 {% if view_user.website %}
69 <td>{% trans "user website" %}</td>
70 <td><a rel="nofollow" target="_blank" href="{{view_user.website}}">{{view_user.website}}</a></td>
73 {% if view_user.location %}
75 <td>{% trans "location" %}</td>
76 <td>{{view_user.location}}</td>
79 {% if view_user.date_of_birth%}
81 <!--todo - redo this with blocktrans -->
82 {% if view_user.date_of_birth.year != 1900%}
83 <td>{% trans "age" %}</td>
84 <td>{% get_age view_user.date_of_birth %} {% trans "age unit" %}</td>
88 {% if request.user.is_superuser %}
90 <td>{% trans "email" %}</td>
91 <td><a href="mailto: {{ view_user.email }}">{{ view_user.email }}</a></td>
95 {% if votes_today_left %}
97 <td>{% trans "todays unused votes" %}</td>
98 <td><strong class="darkred">{{ votes_today_left }}</strong> {% trans "votes left" %}</td>
105 <div class="user-about">
106 {% if view_user.about %}
107 {{view_user.about|safe}}
113 <!-- end user_info.html -->