Skip to content

Commit

Permalink
Transforme la balise avertissement en panel bootstrap
Browse files Browse the repository at this point in the history
  • Loading branch information
psychoz971 committed Feb 1, 2018
1 parent e595de7 commit 5816fbd
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion paquet.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<paquet
prefix="comarquage"
categorie="divers"
version="1.0.5"
version="1.0.6"
etat="stable"
compatibilite="[3.0.0;3.2.*]"
logo="prive/themes/spip/images/picto-comarquage-service-public.png"
Expand Down
2 changes: 1 addition & 1 deletion plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<auteur>Olivier Watté</auteur>
<licence>GPL</licence>
<fonctions>comarquage_fonctions.php</fonctions>
<version>1.0.5</version>
<version>1.0.6</version>
<etat>stable</etat>
<description>Rediffuser le flux de la documentation française du service public
</description>
Expand Down
8 changes: 6 additions & 2 deletions xml_templates/balises/avertissement.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,13 @@
-->]

<B_avertissement>
<div class="xml-avertissement lead">
<div class="panel panel-warning xml-avertissement">
<BOUCLE_avertissement(DATA){source tableau, #ENV{data}|table_valeur{0/children}}>
<INCLURE{fond=xml_templates/balises/#CLE, env}{data=#VALEUR} />
[(#CLE|=={titre}|oui)<div class="panel-heading">
<INCLURE{fond=xml_templates/balises/#CLE, env}{data=#VALEUR} />
</div>][(#CLE|=={titre}|non)<div class="panel-body">
<INCLURE{fond=xml_templates/balises/#CLE, env}{data=#VALEUR} />
</div>]
</BOUCLE_avertissement>
</div>
</B_avertissement>
10 changes: 3 additions & 7 deletions xml_templates/balises/titre.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@
data : Contenu a parser
-->]

<B_titre>
<div class="xml-titre">
<h3 class="panel-title" >
[(#ENV{data}|table_valeur{0/text})]
</h3>
</div>
</B_titre>
<h3 class="panel-title xml-titre">
[(#ENV{data}|table_valeur{0/text})]
</h3>

0 comments on commit 5816fbd

Please sign in to comment.