From 7290d7272b815ed3a655cbd6ad47ca6c0be74e32 Mon Sep 17 00:00:00 2001 From: Florian Schmitt Date: Tue, 11 Feb 2025 18:47:32 +0300 Subject: [PATCH] fix(print): no a4 and css for indications --- templates/bazar/assets/activites.css | 14 +++----------- templates/bazar/fiche-20.tpl.html | 11 ++--------- templates/bazar/fiche-21.tpl.html | 4 ++-- templates/bazar/select-entries.tpl.html | 6 +++--- 4 files changed, 10 insertions(+), 25 deletions(-) diff --git a/templates/bazar/assets/activites.css b/templates/bazar/assets/activites.css index 40169c5..c70197d 100644 --- a/templates/bazar/assets/activites.css +++ b/templates/bazar/assets/activites.css @@ -7,16 +7,6 @@ height: 295mm; border: 1px dotted #aaa; } -.indications, -.indications2 { - display: none; -} -.yw-main-content.alone .indications, -.yw-main-content.alone .indications2, -.include:last-child .indications, -.include:last-child .indications2 { - display: block; -} .indications img, .indications2 img { width: 185mm; @@ -218,7 +208,9 @@ padding: 0 !important; --padding-x: 0; } - .full-portrait-a4 { + .full-portrait-a4, + .indications, + .indications2 { page-break-after: always; max-width: 210mm; max-height: 297mm; diff --git a/templates/bazar/fiche-20.tpl.html b/templates/bazar/fiche-20.tpl.html index cc304cf..540a386 100644 --- a/templates/bazar/fiche-20.tpl.html +++ b/templates/bazar/fiche-20.tpl.html @@ -35,10 +35,10 @@ $structure = !empty($fiche['bf_structure']) ? $fiche['bf_structure'] : $fiche['b $indications = ''; if ($_GET['wiki'] == $fiche['id_fiche']) { - $indications = '
+ $indications = '
instructions recto
-
+
instructions verso
'; } @@ -85,13 +85,6 @@ echo <<