Commit 50ce87030f2f7c66b633b370ef532284ac09ff54
1 parent
8395e5b1
Exists in
master
and in
39 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,18 +46,29 @@ | ||
| 46 | {% if request.user.is_active %} | 46 | {% if request.user.is_active %} |
| 47 | <li> | 47 | <li> |
| 48 | {% if user_.twitter %} | 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 | {% endif %} | 50 | {% endif %} |
| 51 | {% if user_.facebook %} | 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 | {% endif %} | 53 | {% endif %} |
| 54 | </li> | 54 | </li> |
| 55 | 55 | ||
| 56 | {% if user_.google_talk %} | 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 | {% endif %} | 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 | {% if user_.webpage %} | 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 | {% endif %} | 72 | {% endif %} |
| 62 | {% endif %} | 73 | {% endif %} |
| 63 | </ul> | 74 | </ul> |