Revision a9215ad7
Added by Jérôme Schneider over 10 years ago
calebasse/dossiers/templates/dossiers/patientrecord_tab1.html | ||
---|---|---|
11 | 11 |
<li><label>Prénom :</label> {{ object.first_name }}</li> |
12 | 12 |
<li><label>Genre :</label> {{ object.get_gender_display|default_if_none:"Non renseigné" }}</li> |
13 | 13 |
<li><label>Date de naissance :</label> {% if object.birthdate %}{{ object.birthdate|date:"d/m/Y" }}{% else %}Non renseignée{% endif %}</li> |
14 |
<li><label>Lieux de vie :</label> |
|
14 |
<li> |
|
15 |
{% if nb_place_of_lifes == 1 %} |
|
16 |
<label>Lieux de vie :</label> |
|
17 |
{% elif nb_place_of_lifes > 1 %} |
|
18 |
<label class="place_of_lifes_warning">{{ nb_place_of_lifes }} lieux de vie :</label> |
|
19 |
{% else %} |
|
20 |
<label class="place_of_lifes_warning">Pas de lieu de vie</label> |
|
21 |
{% endif %} |
|
15 | 22 |
{% if object.addresses.all %} |
16 | 23 |
<ul> |
17 | 24 |
{% for address in object.addresses.all %} |
calebasse/static/css/style.css | ||
---|---|---|
1527 | 1527 |
.addresses li { |
1528 | 1528 |
list-style-type: none; |
1529 | 1529 |
} |
1530 |
|
|
1531 |
div#tabs label.place_of_lifes_warning { |
|
1532 |
color: orange; |
|
1533 |
font-weight: bold; |
|
1534 |
} |
Also available in: Unified diff
dossiers: show warnings for place of life into general tab
Closes #3138