Change age color if student under 17 y.o.

This commit is contained in:
Claude Paroz 2016-01-20 18:00:05 +01:00
parent 976a559cca
commit ee28d8edc5
3 changed files with 4 additions and 1 deletions

View file

@ -12,5 +12,6 @@
<div id="summary">
{{ object.first_name }} {{ object.last_name }}<br>
{{ object.pcode }} {{ object.city }}<br>
Date de naissance: {{ object.birth_date }} {% if age_for_stage %}(<span title="Âge au début du stage">{{ age_for_stage }}){% endif %}</span>
Date de naissance: {{ object.birth_date }}
{% if age_for_stage %}(<span title="Âge au début du stage" class="{{ age_style }}">{{ age_for_stage }}</span>){% endif %}
</div>