blob: d949270e653e08a301b525b09f0acdcaf18a7cde (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
{% extends "base.html" %}
{% load url from future %}
{% load i18n %}
{% load hk_generic %}
{% load gravatar %}
{% block title %}
{% trans 'User Profile' %} for {{ fullname }} - {{ app_name|title }}
{% endblock %}
{% block content %}
<div class="user-profile user-public-profile">
<h1>User profile <small>for {{ fullname }}</small></h1>
<table class="table table-bordered table-striped user-data">
<tbody>
<tr>
<th>{% trans 'Name:' %}</th>
<td>{{ fullname }}</td>
</tr>
{% if creation %}
<tr>
<th>{% trans 'Creation:' %}</th>
<td>{{ creation|date:"l, j F Y H:i:s" }} ({{ creation|timesince }})</td>
</tr>
{% endif %}
<tr>
<th>{% trans 'Votes for this user:' %}</th>
<td><span class="likestatus {{ likestatus }}">+{{ likes }}/-{{ dislikes }}</span></td>
</tr>
</tbody>
</table>
<div class="gravatar">
{% gravatar email 100 %}
</div>
<div class="clearfix"></div>
<h3>Subscriptions</h3>
{% include "fragments/user_subscriptions.html" %}
</div>
{% endblock %}
|