peaufinage du breadcrumb pour les medias
This commit is contained in:
parent
ca8e57e16f
commit
685d7cf453
1 changed files with 6 additions and 5 deletions
|
@ -1,11 +1,12 @@
|
|||
#CACHE{0}
|
||||
#SET{mots,#ARRAY}
|
||||
#SET{gpes_mots,#ARRAY}
|
||||
#SET{id_groupe, #INFO_ID_GROUPE{article,#ENV{id_article}}}
|
||||
|
||||
<BOUCLE_mots(MOTS){id_article=#ENV{id_article}}>
|
||||
[(#SET{mots,#GET{mots}|push{#TITRE}})]
|
||||
[(#SET{gpes_mots,#GET{gpes_mots}|push{#TYPE}})]
|
||||
[(#TYPE|=={Médiathèque}|oui)
|
||||
#SET{id_media,#ID_MOT}
|
||||
]
|
||||
</BOUCLE_mots>
|
||||
|
||||
<ul class="breadcrumb">
|
||||
|
@ -16,11 +17,11 @@
|
|||
]
|
||||
|
||||
[(#GET{mots}|find{Séminaires}|non)
|
||||
[(#GET{gpes_mots}|find{Médiathèque}|oui)
|
||||
<li><a href="#URL_PAGE{mediatheque}"> Médiathèque</a><span class="divider"> > </span></li>
|
||||
[(#GET{id_media}|oui)
|
||||
<li><a href="[(#URL_PAGE{mediatheque}|parametre_url{id_mot,#GET{id_media}})]"> #INFO_TITRE{mot,#GET{id_media}}</a><span class="divider"> > </span></li>
|
||||
]
|
||||
|
||||
[(#GET{gpes_mots}|find{Médiathèque}|non)
|
||||
[(#GET{id_media}|non)
|
||||
[(#GET{id_groupe}|oui)
|
||||
<li><a href="#URL_PAGE{groupes}"> Groupes</a><span class="divider"> > </span></li>
|
||||
<li><a href="[(#URL_PAGE{groupes}|parametre_url{id_article,#GET{id_groupe}})]"> #INFO_SURTITRE{article,#GET{id_groupe}}</a><span class="divider"> > </span></li>
|
||||
|
|
Loading…
Add table
Reference in a new issue