fix(select-entries): add instructions just for print
This commit is contained in:
parent
54831e633c
commit
02d4515fe0
1 changed files with 6 additions and 6 deletions
|
@ -41,12 +41,6 @@ $modal = ''; // declaration d'une chaine de char vide
|
|||
</figure>
|
||||
</div>
|
||||
<?php endforeach; ?>
|
||||
<div class="full-portrait-a4 indications">
|
||||
<img src="custom/templates/bazar/assets/Instructions_pliage_recto.webp" alt="instructions recto" />
|
||||
</div>
|
||||
<div class="full-portrait-a4 indications2">
|
||||
<img src="custom/templates/bazar/assets/Instructions_pliage_verso.webp" alt="instructions verso" />
|
||||
</div>
|
||||
</div>
|
||||
<div id="selected-actions">
|
||||
<strong>Pour la sélection :</strong>
|
||||
|
@ -138,6 +132,12 @@ document.addEventListener("DOMContentLoaded", function(event) {
|
|||
$.each( $('.selected'), function( key, value ) {
|
||||
content = content + "\n" +'{{include page="'+value.getAttribute('data-tag')+'"}}'
|
||||
});
|
||||
content = content + '<div class="full-portrait-a4 indications">'
|
||||
+ '<img src="custom/templates/bazar/assets/Instructions_pliage_recto.webp" alt="instructions recto" />'
|
||||
+ '</div>'
|
||||
+ '<div class="full-portrait-a4 indications2">'
|
||||
+ '<img src="custom/templates/bazar/assets/Instructions_pliage_verso.webp" alt="instructions verso" />'
|
||||
+ '</div>'
|
||||
window.location.href = '/?wiki/render&print=1&content='+content+'&returnTo=<?php echo $GLOBALS['wiki']->href('', 'Merci'); ?>';
|
||||
return false;
|
||||
})
|
||||
|
|
Loading…
Add table
Reference in a new issue