1 <!-- user_info.html -->
3 {% load extra_filters %}
7 <div id="subheader" class="headUser">
10 <table class="user-info-table">
12 <td width="180" style="vertical-align:middle;text-align:center;">
16 {% gravatar view_user 128 %}
21 <div class="scoreNumber">{{view_user.reputation|intcomma}}</div>
22 <p><b style="color:#777;">{% trans "reputation" %}</b></p>
27 <td width="360" style="vertical-align: top;">
28 <table class="user-details">
29 {% if view_user != request.user and request.user.is_superuser %}
31 <td class="admin" align="left" colspan="2">
32 <h3>{% trans "Moderate this user" %}</h3>
33 <form id="moderate_user_form" method="post">
34 {{moderate_user_form.as_p}}
36 <p id="action_status"></p>
40 {% ifequal request.user view_user %}
42 <td class="user-profile-tool-links" align="left" colspan="2">
43 {% joinitems using ' | ' %}
44 <span class="user-edit-link"><a href="{% url users %}{{ view_user.id }}/{% trans "edit/" %}">{% trans "update profile" %}</a></span>
46 <a href="{% url user_authsettings %}">authentication settings</a>
52 <th colspan="2" align="left"><h3>{% trans "Registered user" %}</h3></th>
54 {% if view_user.real_name %}
56 <td>{% trans "real name" %}</td>
57 <td><b>{{view_user.real_name}}</b></td>
61 <td>{% trans "member for" %}</td>
62 <td><strong>{% diff_date view_user.date_joined %}</strong></td>
64 {% if view_user.last_seen %}
66 <td>{% trans "last seen" %}</td>
67 <td><strong title="{{ view_user.last_seen }}">{% diff_date view_user.last_seen %}</strong></td>
70 {% if view_user.website %}
72 <td>{% trans "user website" %}</td>
73 <td><a rel="nofollow" target="_blank" href="{{view_user.website}}">{{view_user.website}}</a></td>
76 {% if view_user.location %}
78 <td>{% trans "location" %}</td>
79 <td>{{view_user.location}}</td>
82 {% if view_user.date_of_birth%}
84 <!--todo - redo this with blocktrans -->
85 <td>{% trans "age" %}</td>
86 <td>{% get_age view_user.date_of_birth %} {% trans "age unit" %}</td>
90 {% if votes_today_left %}
92 <td>{% trans "todays unused votes" %}</td>
93 <td><strong class="darkred">{{ votes_today_left }}</strong> {% trans "votes left" %}</td>
100 <div class="user-about">
101 {% if view_user.about %}
102 {{view_user.about|safe|linebreaks}}
108 <!-- end user_info.html -->