mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
fix: hide email when account's email hidden is set
Fixes: 362 Signed-off-by: Leonidas Spyropoulos <artafinde@archlinux.org>
This commit is contained in:
parent
7a525d7693
commit
02d114d575
1 changed files with 4 additions and 0 deletions
|
@ -25,7 +25,11 @@
|
|||
<tr>
|
||||
<th>{% trans %}Email Address{% endtrans %}:</th>
|
||||
<td>
|
||||
{% if not user.HideEmail %}
|
||||
<a href="mailto:{{ user.Email }}">{{ user.Email }}</a>
|
||||
{% else %}
|
||||
<span><em><{% trans %}hidden{% endtrans %}></em></span>
|
||||
{% endif %}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
|
Loading…
Add table
Reference in a new issue