X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Finclude%2Fminifiche.tpl;h=5bb6ef65f043c3d07d1a1316630316af88aa8020;hb=f81d9dad9b8855475cb0a2dc4d6f21090913e7d3;hp=ee4da661c18958fd77f92450718f17ef9a370a3d;hpb=15a094c09faa49d0cc9e3924d5d1200035b2d06e;p=platal.git diff --git a/templates/include/minifiche.tpl b/templates/include/minifiche.tpl index ee4da66..5bb6ef6 100644 --- a/templates/include/minifiche.tpl +++ b/templates/include/minifiche.tpl @@ -22,63 +22,67 @@ {if !$c.inscrit || $c.dcd}
{/if} -
+
{if $c.iso3166} - {$c.nat}  + {$c.nat}  {/if} (X {$c.promo}{if $c.app0text}, {applis_fmt type=$c.app0type text=$c.app0text url=$c.app0url} {/if}{if $c.app1text}, {applis_fmt type=$c.app1type text=$c.app1text url=$c.app1url}{/if}) {if $c.dcd}décédé{if $c.sexe}e{/if} le {$c.deces|date_format}{/if} - {min_auth level="cookie"} + {if $smarty.session.auth ge AUTH_COOKIE} {if !$c.dcd && !$c.wasinscrit} - clique ici si tu connais son adresse email ! + clique ici si tu connais son adresse email ! + {/if} {/if} - {/min_auth}
- {min_auth level="cookie"} + {if $smarty.session.auth ge AUTH_COOKIE} {if !$c.wasinscrit && !$c.dcd} {if $show_action eq ajouter} - {* - *}Ajouter à la liste de mes surveillances + {* + *}{icon name=add title="Ajouter à la liste de mes surveillances"} {else} - {* - *}Retirer de la liste de mes surveillances + {* + *}{icon name=cross title="Retirer de la liste de mes surveillances"} {/if} {elseif $c.wasinscrit} - {* - *}Afficher la fiche + {* + *}{icon name=user_suit title="Afficher la fiche"} {if !$c.dcd} - {* - *}Afficher la carte de visite - {* - *}{if $show_action eq + {* + *}{icon name=vcard title="Afficher la carte de visite"} + {if $show_action eq ajouter} + {* + *}{icon name=add title="Ajouter à mes contacts"} + {else} + {* + *}{icon name=cross title="Retirer de mes contacts"} {/if} + {/if} + {/if} {/if} - {/min_auth} - {perms level='admin'} + {if $smarty.session.perms eq admin} {if !$c.wasinscrit && !$c.dcd} - {* - *}admin + [{* + *}{icon name=wrench title="marketter user"} {elseif $c.wasinscrit} - {* - *}admin + [{* + *}{icon name=wrench title="administrer user"} {/if} {* - *}AX - {/perms} + *}{icon name=user_gray title="fiche AX"}] + {/if}
@@ -97,7 +101,7 @@ {$c.city}{if $c.city && $c.countrytxt}, {/if}{$c.countrytxt} {/if} - {if $c.mobile} + {if $c.mobile && !$c.dcd} Mobile: {$c.mobile}