1 <!-- user_info.html -->
3 {% load extra_filters %}
9 <div id="subheader" class="headUser">
10 {{view_user.username}}
12 <table class="user-info-table">
14 <td width="180" style="vertical-align:middle;text-align:center;">
18 {% gravatar view_user 128 %}
23 <div class="scoreNumber">{{view_user.reputation|intcomma}}</div>
24 <p><b style="color:#777;">{% trans "reputation" %}</b></p>
29 <td width="360" style="vertical-align: top;">
30 <table class="user-details">
31 {% if view_user != request.user and request.user.is_superuser %}
33 <td class="moderation" align="left" colspan="2">
34 {% comment %}{% user_moderation request.user view_user %}{% endcomment %}
38 {% ifequal request.user view_user %}
40 <td class="user-profile-tool-links" align="left" colspan="2">
41 {% joinitems using ' | ' %}
42 <span class="user-edit-link"><a href="{% url users %}{{ view_user.id }}/{% trans "edit/" %}">{% trans "update profile" %}</a></span>
44 <a href="{% url user_authsettings %}">authentication settings</a>
50 <th colspan="2" align="left"><h3>{% trans "Registered user" %}</h3></th>
52 {% if view_user.real_name %}
54 <td>{% trans "real name" %}</td>
55 <td><b>{{view_user.real_name}}</b></td>
59 <td>{% trans "member for" %}</td>
60 <td><strong>{% diff_date view_user.date_joined %}</strong></td>
62 {% if view_user.last_seen %}
64 <td>{% trans "last seen" %}</td>
65 <td><strong title="{{ view_user.last_seen }}">{% diff_date view_user.last_seen %}</strong></td>
68 {% if view_user.website %}
70 <td>{% trans "user website" %}</td>
71 <td><a rel="nofollow" target="_blank" href="{{view_user.website}}">{{view_user.website}}</a></td>
74 {% if view_user.location %}
76 <td>{% trans "location" %}</td>
77 <td>{{view_user.location}}</td>
80 {% if view_user.date_of_birth%}
82 <!--todo - redo this with blocktrans -->
83 {% if view_user.date_of_birth.year != 1900%}
84 <td>{% trans "age" %}</td>
85 <td>{% get_age view_user.date_of_birth %} {% trans "age unit" %}</td>
89 {% if request.user.is_superuser %}
91 <td>{% trans "email" %}</td>
92 <td><a href="mailto: {{ view_user.email }}">{{ view_user.email }}</a></td>
96 {% if votes_today_left %}
98 <td>{% trans "todays unused votes" %}</td>
99 <td><strong class="darkred">{{ votes_today_left }}</strong> {% trans "votes left" %}</td>
106 <div class="user-about">
107 {% if view_user.about %}
108 {{view_user.about|markdown}}
114 <!-- end user_info.html -->