Révision ae19f2b7
Ajouté par Jérôme Schneider il y a environ 10 ans
calebasse/dossiers/templates/dossiers/patientrecord_tab3_adresses.html | ||
---|---|---|
47 | 47 |
</li> |
48 | 48 |
{% endif %} |
49 | 49 |
</ul> |
50 |
<div id="social-security-contact">
|
|
51 |
<label id="social-security-label">Données d'assuré social [+]</label>
|
|
50 |
<div class="social-security-contact">
|
|
51 |
<label class="social-security-label">Infos d'assuré [+]</label>
|
|
52 | 52 |
<ul> |
53 | 53 |
{% if object.social_security_id %} |
54 | 54 |
<li><label>Numéro d'assuré social :</label> |
... | ... | |
159 | 159 |
{{ contact.contact_comment }} |
160 | 160 |
</li> |
161 | 161 |
{% endif %} |
162 |
<li><label>Données d'assuré social</label>
|
|
163 |
<!-- <button class="blind">détails</button>-->
|
|
162 |
<div class="social-security-contact">
|
|
163 |
<label class="social-security-label">Infos d'assuré [+]</label>
|
|
164 | 164 |
<ul> |
165 | 165 |
{% if contact.social_security_id %} |
166 | 166 |
<li><label>Numéro d'assuré social :</label> |
... | ... | |
202 | 202 |
{{ contact.twinning_rank }}</li> |
203 | 203 |
{% endif %} |
204 | 204 |
</ul> |
205 |
</li>
|
|
205 |
</div>
|
|
206 | 206 |
</ul> |
207 | 207 |
</div> |
208 | 208 |
</div> |
... | ... | |
271 | 271 |
{{ contact.contact_comment }} |
272 | 272 |
</li> |
273 | 273 |
{% endif %} |
274 |
<li><label>Données d'assuré social</label>
|
|
275 |
<!-- <button class="blind">détails</button> -->
|
|
274 |
<span class="social-security-contact">
|
|
275 |
<label class="social-security-label">Infos d'assuré [+]</label>
|
|
276 | 276 |
<ul> |
277 | 277 |
{% if contact.social_security_id %} |
278 | 278 |
<li><label>Numéro d'assuré social :</label> |
... | ... | |
314 | 314 |
{{ contact.twinning_rank }}</li> |
315 | 315 |
{% endif %} |
316 | 316 |
</ul> |
317 |
</li>
|
|
317 |
</div>
|
|
318 | 318 |
</ul> |
319 |
</div>
|
|
319 |
</span>
|
|
320 | 320 |
</div> |
321 | 321 |
{% endif %} |
322 | 322 |
{% endfor %} |
calebasse/static/css/style.css | ||
---|---|---|
1533 | 1533 |
font-weight: bold; |
1534 | 1534 |
} |
1535 | 1535 |
|
1536 |
#social-security-label {
|
|
1536 |
.social-security-label {
|
|
1537 | 1537 |
cursor: pointer; |
1538 | 1538 |
} |
1539 | 1539 |
|
1540 |
label#social-security-label:hover {
|
|
1540 |
label.social-security-label:hover {
|
|
1541 | 1541 |
font-weight: bold; |
1542 | 1542 |
} |
1543 | 1543 |
|
1544 |
#social-security-contact ul {
|
|
1544 |
.social-security-contact ul {
|
|
1545 | 1545 |
display: none; |
1546 | 1546 |
} |
1547 | 1547 |
|
calebasse/static/js/calebasse.dossiers.js | ||
---|---|---|
332 | 332 |
$('button.blind').click(function() { |
333 | 333 |
$(this).next().toggle('blind'); |
334 | 334 |
}); |
335 |
$('#social-security-label').click(function() {
|
|
335 |
$('.social-security-label').click(function() {
|
|
336 | 336 |
var label = $(this).html(); |
337 | 337 |
var data = $(this).next(); |
338 | 338 |
if (($(data).is(':hidden'))) { |
Formats disponibles : Unified diff
dossiers: toggle every social security contact informations
Closes #4377