Skip to content
This repository has been archived by the owner on Jan 19, 2021. It is now read-only.

Commit

Permalink
[fix bug 895667] Add mailto links to not-mine profile pages
Browse files Browse the repository at this point in the history
  • Loading branch information
hoosteeno committed Jul 18, 2013
1 parent e4e8c9e commit c54176f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion apps/phonebook/templates/phonebook/profile.html
Expand Up @@ -191,7 +191,9 @@ <h3>{{ _('Languages') }}</h3>
{% if profile.email %}
<li class="u-email email">
<i class="icon-envelope"></i>
{{ profile.email }}
{% if user != shown_user %}<a href="mailto:{{ profile.email }}">{% endif %}
{{ profile.email }}
{% if user != shown_user %}</a>{% endif %}
</li>
{% endif %}
{% if profile.ircname %}
Expand Down

0 comments on commit c54176f

Please sign in to comment.