1 <!-- user_info.html -->
3 {% load extra_filters %}
10 <div id="subheader" class="headUser{% if view_user.is_suspended %} suspended-user{% endif %}">
11 {{view_user.decorated_name}}
13 <table class="user-info-table">
15 <td width="180" style="vertical-align:middle;text-align:center;">
19 {% gravatar view_user 128 %}
24 {% if not view_user.is_suspended %}
25 <div class="scoreNumber" id="user-reputation">{{view_user.reputation|intcomma}}</div>
26 <p><b style="color:#777;">{% trans "reputation" %}</b></p>
28 <div class="scoreNumber">{% trans "Suspended" %}</div>
29 <p>{{ view_user.suspension.extra.publicmsg }}</p>
35 <td width="360" style="vertical-align: top;">
36 {% if can_view_private %}{% user_menu request.user view_user %}{% endif %}
37 <table class="user-details">
39 <th colspan="2" align="left"><h3>{% trans "Registered user" %}</h3></th>
41 {% if view_user.real_name %}
43 <td>{% trans "real name" %}</td>
44 <td><b>{{view_user.real_name}}</b></td>
48 <td>{% trans "member for" %}</td>
49 <td><strong>{% diff_date view_user.date_joined %}</strong></td>
51 {% if view_user.last_seen %}
53 <td>{% trans "last seen" %}</td>
54 <td><strong title="{{ view_user.last_login }}">{% diff_date view_user.last_login %}</strong></td>
57 {% if view_user.website %}
59 <td>{% trans "user's website" %}</td>
60 <td><a rel="nofollow" target="_blank" href="{{view_user.website}}">{{view_user.website}}</a></td>
63 {% if view_user.location %}
65 <td>{% trans "location" %}</td>
66 <td>{{view_user.location}}</td>
69 {% if view_user.date_of_birth%}
71 <!--todo - redo this with blocktrans -->
72 {% if view_user.date_of_birth.year != 1900%}
73 <td>{% trans "age" %}</td>
74 <td>{% get_age view_user.date_of_birth %} {% trans "age unit" %}</td>
78 {% if can_view_private %}
80 <td>{% trans "email" %}</td>
82 <a href="mailto: {{ view_user.email }}">{{ view_user.email }}</a>
83 {% if not view_user.email_isvalid %}
84 ({% trans "not validated" %})
85 {% ifequal request.user view_user %}
86 </td></tr><tr><td></td><td><a href="{% url send_validation_email %}">{% trans "Send me a validation link." %}</a>
93 {% if votes_today_left %}
95 <td>{% trans "todays unused votes" %}</td>
96 <td><strong class="darkred">{{ votes_today_left }}</strong> {% trans "votes left" %}</td>
103 <div class="user-about">
104 {% if view_user.about %}
105 {{view_user.about|markdown}}
111 <!-- end user_info.html -->