From 9794087c767b691ec1bba5ebd0720b159247e5ca Mon Sep 17 00:00:00 2001
From: RastaPopoulos <rastapopoulos@spip.org>
Date: Tue, 1 Jun 2021 16:07:43 +0200
Subject: [PATCH] =?UTF-8?q?Ne=20pas=20afficher=20de=20menu=20de=20changeme?=
 =?UTF-8?q?nt=20de=20m=C3=A9thodes=20lorsqu'il=20n'y=20a=20qu'une=20seule?=
 =?UTF-8?q?=20m=C3=A9thode.=20(Au=20passage,=20premi=C3=A8re=20utilisation?=
 =?UTF-8?q?=20officielle=20de=20laisser=20une=20boucle=20dans=20une=20cond?=
 =?UTF-8?q?ition=20de=20balise=20=3F=20Yeah=20bien=20plus=20lisible.)?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 formulaires/inc-upload_document.html | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/formulaires/inc-upload_document.html b/formulaires/inc-upload_document.html
index 0150f7fa..511bdbea 100644
--- a/formulaires/inc-upload_document.html
+++ b/formulaires/inc-upload_document.html
@@ -13,7 +13,8 @@
 	<div class='joindre_mode#GET{domid}[(#GET{methode}|=={#CLE}|non)none-js]' id='joindre_#CLE#GET{domid}'>
 
 		<INCLURE{fond=formulaires/methodes_upload/#CLE,env,domid=#GET{domid}} />
-
+		
+		[(#GET{methodes_upload}|count|>{1}|oui)
 		<div class='sourceup'>
 			<:medias:bouton_download_depuis:>
 			<BOUCLE_methodes_liens(DATA){source tableau,#GET{methodes_upload}}{"|"}>
@@ -25,6 +26,7 @@
 				]
 			</BOUCLE_methodes_liens>
 		</div>
+		]
 		<p class='boutons'><input class='btn submit' type="submit" name="joindre_#CLE" value="#VALEUR{label_bouton}"/></p>
 	</div>
 </BOUCLE_methodes>
@@ -47,4 +49,4 @@ function change_methode(domid,methode){
 }
 jQuery(function(){change_methode('#GET{domid}','#GET{methode}');});
 }
-/*\]\]>*/</script>
\ No newline at end of file
+/*\]\]>*/</script>
-- 
GitLab