Commit 50ce87030f2f7c66b633b370ef532284ac09ff54
1 parent
8395e5b1
Exists in
master
and in
13 other branches
Adding identi.ca and bio field to be displayed on user profile
Showing
1 changed file
with
15 additions
and
4 deletions
Show diff stats
src/accounts/templates/accounts/user_detail.html
... | ... | @@ -46,18 +46,29 @@ |
46 | 46 | {% if request.user.is_active %} |
47 | 47 | <li> |
48 | 48 | {% if user_.twitter %} |
49 | - <span class="icon-twitter icon-fixed-width"></span> <a target="_blank" href="{{ user_.twitter_link }}" title="{% trans 'Twitter account' %}">{{ user_.twitter }}</a> | |
49 | + <span class="icon-twitter icon-fixed-width" title="{% trans 'Twitter account' %}"></span> <a target="_blank" href="{{ user_.twitter_link }}" title="{% trans 'Twitter account' %}">{{ user_.twitter }}</a> | |
50 | 50 | {% endif %} |
51 | 51 | {% if user_.facebook %} |
52 | - <span class="icon-facebook icon-fixed-width"></span> <a target="_blank" href="{{ user_.facebook_link }}" title="{% trans 'Facebook account' %}">{{ user_.facebook }}</a> | |
52 | + <span class="icon-facebook icon-fixed-width" title="{% trans 'Facebook account' %}"></span> <a target="_blank" href="{{ user_.facebook_link }}" title="{% trans 'Facebook account' %}">{{ user_.facebook }}</a> | |
53 | 53 | {% endif %} |
54 | 54 | </li> |
55 | 55 | |
56 | 56 | {% if user_.google_talk %} |
57 | - <li><span class="icon-google-plus icon-fixed-width"></span> {{ user_.google_talk }}</li> | |
57 | + <li><span class="icon-google-plus icon-fixed-width" title="{% trans 'Google talk account' %}"></span> {{ user_.google_talk }}</li> | |
58 | 58 | {% endif %} |
59 | + | |
60 | + {% if user_.identi_ca %} | |
61 | + <li><span class="icon-comments icon-fixed-width" title="{% trans 'Identi.ca account' %}"></span> {{ user_.identi_ca }}</li> | |
62 | + {% endif %} | |
63 | + | |
59 | 64 | {% if user_.webpage %} |
60 | - <li><span class="icon-link icon-fixed-width"></span> <a target="_blank" href="{{ user_.webpage }}" title="{% trans 'Personal webpage' %}">{{ user_.webpage }}</a></li> | |
65 | + <li><span class="icon-link icon-fixed-width" title="{% trans 'Personal webpage' %}"></span> <a target="_blank" href="{{ user_.webpage }}" title="{% trans 'Personal webpage' %}">{{ user_.webpage }}</a></li> | |
66 | + {% endif %} | |
67 | + {% if user_.bio %} | |
68 | + <li class="divider"> | |
69 | + <strong><abbr title="{% trans 'Biography' %}">{% trans 'Bio' %}</abbr></strong> | |
70 | + </li> | |
71 | + <li class="text-muted"> {{ user_.bio }}</li> | |
61 | 72 | {% endif %} |
62 | 73 | {% endif %} |
63 | 74 | </ul> | ... | ... |