1 <!-- user_info.html -->
3 {% load extra_filters %}
10 <div id="subheader" class="headUser">
11 {{view_user.username}}
13 <table class="user-info-table">
15 <td width="180" style="vertical-align:middle;text-align:center;">
19 {% gravatar view_user 128 %}
24 <div class="scoreNumber" id="user-reputation">{{view_user.reputation|intcomma}}</div>
25 <p><b style="color:#777;">{% trans "reputation" %}</b></p>
30 <td width="360" style="vertical-align: top;">
31 {% if can_view_private %}{% user_menu request.user view_user %}{% endif %}
32 <table class="user-details">
34 <th colspan="2" align="left"><h3>{% trans "Registered user" %}</h3></th>
36 {% if view_user.real_name %}
38 <td>{% trans "real name" %}</td>
39 <td><b>{{view_user.real_name}}</b></td>
43 <td>{% trans "member for" %}</td>
44 <td><strong>{% diff_date view_user.date_joined %}</strong></td>
46 {% if view_user.last_seen %}
48 <td>{% trans "last seen" %}</td>
49 <td><strong title="{{ view_user.last_seen }}">{% diff_date view_user.last_seen %}</strong></td>
52 {% if view_user.website %}
54 <td>{% trans "user website" %}</td>
55 <td><a rel="nofollow" target="_blank" href="{{view_user.website}}">{{view_user.website}}</a></td>
58 {% if view_user.location %}
60 <td>{% trans "location" %}</td>
61 <td>{{view_user.location}}</td>
64 {% if view_user.date_of_birth%}
66 <!--todo - redo this with blocktrans -->
67 {% if view_user.date_of_birth.year != 1900%}
68 <td>{% trans "age" %}</td>
69 <td>{% get_age view_user.date_of_birth %} {% trans "age unit" %}</td>
73 {% if request.user.is_superuser %}
75 <td>{% trans "email" %}</td>
76 <td><a href="mailto: {{ view_user.email }}">{{ view_user.email }}</a></td>
80 {% if votes_today_left %}
82 <td>{% trans "todays unused votes" %}</td>
83 <td><strong class="darkred">{{ votes_today_left }}</strong> {% trans "votes left" %}</td>
90 <div class="user-about">
91 {% if view_user.about %}
92 {{view_user.about|markdown}}
98 <!-- end user_info.html -->