mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-08-04 18:25:04 +02:00
Allow users (and admins) to decide whether their email should be shown on their public profile
This commit is contained in:
parent
71b0c2d83e
commit
5b5e8a4fd5
8 changed files with 104 additions and 3 deletions
|
@ -29,8 +29,11 @@
|
|||
<div class="form-group row">
|
||||
<label class="col-form-label col-md-4">{% trans %}user.email.label{% endtrans %}</label>
|
||||
<div class="col-md-8">
|
||||
{# <p class="form-control-plaintext">{{ user.email }}</p>#}
|
||||
<a class="form-control-plaintext" href="mailto:{{ user.email }}">{{ user.email }}</a>
|
||||
{% if user.showEmailOnProfile %}
|
||||
<a class="form-control-plaintext" href="mailto:{{ user.email }}">{{ user.email }}</a>
|
||||
{% else %}
|
||||
<span class="form-control-plaintext text-muted">-</span>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group row">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue