feat(cof_clubs): alert on non-cof respo
This commit is contained in:
parent
d4a37e7e18
commit
28dd057e4a
1 changed files with 2 additions and 2 deletions
|
@ -9,7 +9,7 @@
|
|||
<h5>Respos:</h5>
|
||||
<div class="grid">
|
||||
{% for r in object.respos.all %}
|
||||
<div class="tag cell is-link">{{r.username}}</div>
|
||||
<div class="tag cell {% if r.profile.is_cof %}is-link{% else %}is-danger{% endif %}">{{r.username}}</div>
|
||||
{% empty %}
|
||||
<div class="tag cell is-warning">Ce club n'a pas de respo déclaré</div>
|
||||
{% endfor%}
|
||||
|
@ -19,7 +19,7 @@
|
|||
<h5>Gestionnaires additionels du budget:</h5>
|
||||
<div class="grid">
|
||||
{% for r in object.budget_managers.all %}
|
||||
<div class="tag cell is-link">{{r.username}}</div>
|
||||
<div class="tag cell {% if r.profile.is_cof %}is-link{% else %}is-danger{% endif %}">{{r.username}}</div>
|
||||
{% endfor%}
|
||||
</div>
|
||||
{% endif %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue