X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Finclude%2Fminifiche.tpl;h=0fd2a140cf60da357ae26b4088035c26510fadd2;hb=2ee89dbf5a138382a676e812877b21374d815f1f;hp=78ad689dfdf519e9524326b42994368ff10f34bb;hpb=1a8cada82646ab08fbc9a158a30196f1510c5772;p=platal.git diff --git a/templates/include/minifiche.tpl b/templates/include/minifiche.tpl index 78ad689..0fd2a14 100644 --- a/templates/include/minifiche.tpl +++ b/templates/include/minifiche.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2008 Polytechnique.org *} +{* Copyright (C) 2003-2009 Polytechnique.org *} {* http://opensource.polytechnique.org/ *} {* *} {* This program is free software; you can redistribute it and/or modify *} @@ -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,63 +79,69 @@ {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} - + {/if} - {if $c.countrytxt || $c.city} + {if ($c.countrytxt || $c.city) && !$c.dcd} - + {/if} {if $c.mobile && !$c.dcd} - + {/if} {if $c.entreprise} - + {/if} {if $c.freetext} - + {/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}
Page web:Page web : {$c.web}
Géographie:Géographie : {$c.city}{if $c.city && $c.countrytxt}, {/if}{$c.countrytxt}
Mobile:Mobile : {$c.mobile}
Profession: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}
Commentaire:Commentaire : {$c.freetext|nl2br}
- Ce camarade n'a plus d'adresse de redirection valide. - - Si tu en connais une, n'hésite pas à nous la transmettre + {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}