Browse Source

affiche la bonne icône

svn/root/trunk
Rainer 1 year ago
parent
commit
9641c0dcd7
2 changed files with 3 additions and 3 deletions
  1. 1
    1
      paquet.xml
  2. 2
    2
      saisies/ajouter_action.html

+ 1
- 1
paquet.xml View File

@@ -1,7 +1,7 @@
1 1
 <paquet
2 2
 	prefix="prix_objets"
3 3
 	categorie="edition"
4
-	version="2.1.0"
4
+	version="2.1.1"
5 5
 	etat="stable"
6 6
 	compatibilite="[3.0.5;3.2.*]"
7 7
 	logo="prive/themes/spip/images/prix_objets-64.png"

+ 2
- 2
saisies/ajouter_action.html View File

@@ -4,9 +4,9 @@
4 4
 	<div class="ajouter_action">
5 5
 		[(#SET{redirect,#SELF|parametre_url{retour_action,oui}|parametre_url{visible,1}})]
6 6
 		[(#URL_ECRIRE{
7
-			#ENV{action},
7
+			[(#ENV{objet}|concat{_edit})],
8 8
 			new=oui}
9
-			|parametre_url{redirect,#GET{redirect}#form_prix}|icone_verticale{#ENV{label_action},declinaison,new,right}
9
+			|parametre_url{redirect,#GET{redirect}#form_prix}|icone_verticale{#ENV{label_action},#ENV{objet},new,right}
10 10
 		)]
11 11
 	</div>
12 12
 	#ENV*{inserer_fin}

Loading…
Cancel
Save