X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Finclude%2Fminifiche.tpl;h=9efa2fcd93b056cdc3f5c305a477ff0c9e689a7a;hb=d1f1137df1a8b0861084bb8016673d3073d114dc;hp=1b3fdd6f7fe9559b91e13b40923aaa88a793c567;hpb=ed260de1888ce43e82b10620de6cc913f5b8ff65;p=platal.git diff --git a/templates/include/minifiche.tpl b/templates/include/minifiche.tpl index 1b3fdd6..9efa2fc 100644 --- a/templates/include/minifiche.tpl +++ b/templates/include/minifiche.tpl @@ -25,14 +25,14 @@
{if $smarty.session.auth ge AUTH_COOKIE}
- {$c.prenom} {$c.nom}
{/if}
{if $c.sexe}•{/if} - {if !$c.dcd && ($c.inscrit || $smarty.session.auth eq AUTH_PUBLIC)}{/if} + {if !$c.dcd && ($c.inscrit || $smarty.session.auth eq AUTH_PUBLIC)}{/if} {if $c.nom_usage}{$c.nom_usage} {$c.prenom}
({$c.nom}){else}{$c.nom} {$c.prenom}{/if} {if !$c.dcd && ($c.inscrit || $smarty.session.auth eq AUTH_PUBLIC)}
{/if}
@@ -42,13 +42,8 @@ {$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} - {if $smarty.session.auth ge AUTH_COOKIE} - {if !$c.dcd && !$c.wasinscrit} - clique ici si tu connais son adresse email ! - {/if} - {/if} + *}{/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}
@@ -64,16 +59,18 @@ *}{icon name=cross title="Retirer de la liste de mes surveillances"} {/if} {elseif $c.wasinscrit} - {* + {* *}{icon name=user_suit title="Afficher la fiche"} {if !$c.dcd} - {* + {* *}{icon name=vcard title="Afficher la carte de visite"} + {* + *}{icon name=email title="Envoyer un email"} {if $show_action eq ajouter} - {* + {* *}{icon name=add title="Ajouter à mes contacts"} {else} - {* + {* *}{icon name=cross title="Retirer de mes contacts"} {/if} {/if} @@ -82,21 +79,21 @@ {if hasPerm('admin')}
- {if !$c.wasinscrit && !$c.dcd} - {* - *}{icon name=email title="marketter user"} - {/if} - {* - *}{icon name=wrench title="administrer user"} - {* - *}{icon name=user_gray title="fiche AX"} + [{if !$c.wasinscrit && !$c.dcd} + {* + *}{icon name=email title="marketter user"} + {/if} + {* + *}{icon name=wrench title="administrer user"} + {* + *}{icon name=user_gray title="fiche AX"}]
{/if} {/if}
- {if $c.wasinscrit} + {if $c.wasinscrit || !$c.dcd} {if $c.web || $c.mobile || $c.countrytxt || $c.city || $c.region || $c.entreprise || $c.freetext || (!$c.dcd && !$c.actif )} {if $c.web} @@ -121,8 +118,8 @@ {/if} @@ -132,13 +129,19 @@ {/if} - {if !$c.dcd && !$c.actif && $c.wasinscrit && $smarty.session.auth ge AUTH_COOKIE} + {if !$c.dcd && (!$c.actif || !$c.wasinscrit) && $smarty.session.auth ge AUTH_COOKIE} {/if}
Profession : - {$c.entreprise} {if $c.secteur}({$c.secteur}){/if} - {if $c.fonction}
{$c.fonction}{/if} + {if $c.job_web}{$c.entreprise}{else}{$c.entreprise}{/if} + {if $c.secteur}({$c.secteur}){/if} {if $c.fonction}
{$c.fonction}{/if}
{$c.freetext|nl2br}
- Ce camarade n'a plus d'adresse de redirection valide. - + {if !$c.wasinscrit} + Ce{if $c.sexe}tte{/if} camarade n'est pas inscrit{if $c.sexe}e{/if}. + Si tu connais son adresse email, + n'hésite pas à nous la transmettre ! + {elseif !$c.actif} + Ce{if $c.sexe}tte{/if} camarade n'a plus d'adresse de redirection valide. + Si tu en connais une, n'hésite pas à nous la transmettre. + {/if}