Revision ae19f2b7
Added by Jérôme Schneider over 11 years ago
| calebasse/dossiers/templates/dossiers/patientrecord_tab3_adresses.html | ||
|---|---|---|
|
</li>
|
||
|
{% endif %}
|
||
|
</ul>
|
||
|
<div id="social-security-contact">
|
||
|
<label id="social-security-label">Données d'assuré social [+]</label>
|
||
|
<div class="social-security-contact">
|
||
|
<label class="social-security-label">Infos d'assuré [+]</label>
|
||
|
<ul>
|
||
|
{% if object.social_security_id %}
|
||
|
<li><label>Numéro d'assuré social :</label>
|
||
| ... | ... | |
|
{{ contact.contact_comment }}
|
||
|
</li>
|
||
|
{% endif %}
|
||
|
<li><label>Données d'assuré social</label>
|
||
|
<!-- <button class="blind">détails</button>-->
|
||
|
<div class="social-security-contact">
|
||
|
<label class="social-security-label">Infos d'assuré [+]</label>
|
||
|
<ul>
|
||
|
{% if contact.social_security_id %}
|
||
|
<li><label>Numéro d'assuré social :</label>
|
||
| ... | ... | |
|
{{ contact.twinning_rank }}</li>
|
||
|
{% endif %}
|
||
|
</ul>
|
||
|
</li>
|
||
|
</div>
|
||
|
</ul>
|
||
|
</div>
|
||
|
</div>
|
||
| ... | ... | |
|
{{ contact.contact_comment }}
|
||
|
</li>
|
||
|
{% endif %}
|
||
|
<li><label>Données d'assuré social</label>
|
||
|
<!-- <button class="blind">détails</button> -->
|
||
|
<span class="social-security-contact">
|
||
|
<label class="social-security-label">Infos d'assuré [+]</label>
|
||
|
<ul>
|
||
|
{% if contact.social_security_id %}
|
||
|
<li><label>Numéro d'assuré social :</label>
|
||
| ... | ... | |
|
{{ contact.twinning_rank }}</li>
|
||
|
{% endif %}
|
||
|
</ul>
|
||
|
</li>
|
||
|
</div>
|
||
|
</ul>
|
||
|
</div>
|
||
|
</span>
|
||
|
</div>
|
||
|
{% endif %}
|
||
|
{% endfor %}
|
||
| calebasse/static/css/style.css | ||
|---|---|---|
|
font-weight: bold;
|
||
|
}
|
||
|
|
||
|
#social-security-label {
|
||
|
.social-security-label {
|
||
|
cursor: pointer;
|
||
|
}
|
||
|
|
||
|
label#social-security-label:hover {
|
||
|
label.social-security-label:hover {
|
||
|
font-weight: bold;
|
||
|
}
|
||
|
|
||
|
#social-security-contact ul {
|
||
|
.social-security-contact ul {
|
||
|
display: none;
|
||
|
}
|
||
|
|
||
| calebasse/static/js/calebasse.dossiers.js | ||
|---|---|---|
|
$('button.blind').click(function() {
|
||
|
$(this).next().toggle('blind');
|
||
|
});
|
||
|
$('#social-security-label').click(function() {
|
||
|
$('.social-security-label').click(function() {
|
||
|
var label = $(this).html();
|
||
|
var data = $(this).next();
|
||
|
if (($(data).is(':hidden'))) {
|
||
Also available in: Unified diff
dossiers: toggle every social security contact informations
Closes #4377