noalyss-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Noalyss-commit] [noalyss] 11/13: Task #2332 : cosmetique cache liste fi


From: dwm
Subject: [Noalyss-commit] [noalyss] 11/13: Task #2332 : cosmetique cache liste fichiers
Date: Sun, 28 Jan 2024 09:05:27 -0500 (EST)

sparkyx pushed a commit to branch devel
in repository noalyss.

commit 03e9073df0bd1256f14711f35be7b61c84276da5
Author: sparkyx <danydb@noalyss.eu>
AuthorDate: Sun Jan 28 11:36:21 2024 +0100

    Task #2332 : cosmetique cache liste fichiers
---
 include/template/follow_up-display.php | 16 +++++++++++++++-
 1 file changed, 15 insertions(+), 1 deletion(-)

diff --git a/include/template/follow_up-display.php 
b/include/template/follow_up-display.php
index d541393a2..c1d4b4acb 100644
--- a/include/template/follow_up-display.php
+++ b/include/template/follow_up-display.php
@@ -519,7 +519,18 @@ endif; ?>
  
**********************************************************************************************************************/
 ?>
     </div>
-  <div class="print">
+    <div id="icon_show_file_div_id">
+    <?php
+    /** Start Block Document **/
+    printf ("Voir toutes les fichiers");
+    echo \Icon_Action::show_icon(uniqid(), 
"$('all_attached_files_div').show();$('icon_show_file_div_id').hide()");
+    ?>
+    </div>
+  <div class="print" style="display: none" id="all_attached_files_div">
+      <?php
+      echo "Cacher les fichiers";
+      echo \Icon_Action::hide_icon(uniqid(), 
"$('all_attached_files_div').hide();$('icon_show_file_div_id').show()")
+      ?>
       <table>
   <?php
 for ($i=0;$i<sizeof($aAttachedFile);$i++) :
@@ -563,6 +574,9 @@ endfor;
 
   ?>
   </table>
+
+      </div>
+          <div>
 <?php if ( ! empty ($aAttachedFile)) :
     /*** Propose to download all document in only one step */
     $url="export.php?".http_build_query([ 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]