Verified Commit 02d114d5 authored by Leonidas Spyropoulos's avatar Leonidas Spyropoulos
Browse files

fix: hide email when account's email hidden is set



Fixes: 362
Signed-off-by: Leonidas Spyropoulos's avatarLeonidas Spyropoulos <artafinde@archlinux.org>
parent 7a525d76
...@@ -25,7 +25,11 @@ ...@@ -25,7 +25,11 @@
<tr> <tr>
<th>{% trans %}Email Address{% endtrans %}:</th> <th>{% trans %}Email Address{% endtrans %}:</th>
<td> <td>
{% if not user.HideEmail %}
<a href="mailto:{{ user.Email }}">{{ user.Email }}</a> <a href="mailto:{{ user.Email }}">{{ user.Email }}</a>
{% else %}
<span><em>&lt;{% trans %}hidden{% endtrans %}&gt;</em></span>
{% endif %}
</td> </td>
</tr> </tr>
<tr> <tr>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment