Browse Source

Merge branch 'Fix_regression_mailing' into 'master'

Fix regression mailing

See merge request federez/re2o!128
paginateur
chirac 8 years ago
parent
commit
a4f66ca1b4
  1. 11
      users/templates/users/profil.html

11
users/templates/users/profil.html

@ -82,8 +82,17 @@ non adhérent</span>{% endif %} et votre connexion est {% if users.has_access %}
<div class="table-responsive"> <div class="table-responsive">
<table class="table table-striped"> <table class="table table-striped">
<tr> <tr>
<th>Prénom</th> {% if users.is_class_club %}
<th>Mailing</th>
{% if users.club.mailing %}
<td>{{ users.pseudo }}(-admin)</td>
{% else %}
<td>Mailing désactivée</td>
{% endif %}
{% else %}
<th>Prénom</th>
<td>{{ users.name }}</td> <td>{{ users.name }}</td>
{% endif %}
<th>Nom</th> <th>Nom</th>
<td>{{ users.surname }}</td> <td>{{ users.surname }}</td>
</tr> </tr>

Loading…
Cancel
Save