Changeset 61356 in spip-zone


Ignore:
Timestamp:
May 16, 2012, 1:37:50 PM (10 years ago)
Author:
brunobergot@…
Message:

ferme #2704 : bien conditionner l'affichage du bouton "supprimer les pétitions" lorsqu'on consulte les signatures d'un article

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _core_/plugins/petitions/prive/squelettes/contenu/controler_petition.html

    r59778 r61356  
    1616<p><:petitions:signatures_article:> <a href='[(#ID_ARTICLE|generer_url_entite{article})]'>#TITRE</a></p>
    1717<BOUCLE_lapetition(PETITIONS){id_article}{0,1}>
     18[(#AUTORISER{modererpetition,article,#ID_ARTICLE})
    1819        [(#BOUTON_ACTION{<:petitions:icone_supprimer_signatures:>,#URL_ACTION_AUTEUR{traiter_lot_signature,supprimer,#SELF}|parametre_url{id_petition,#ID_PETITION,'&'},'ajax',<:petitions:alerte_confirmer_suppression_signatures:>})]
     20]
    1921</BOUCLE_lapetition>
    2022#BOITE_FERMER
Note: See TracChangeset for help on using the changeset viewer.