X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Finclude%2Fminifiche.tpl;h=ac572781aa47d1513e00816a06a2c4c9832274c4;hb=31821494a692c035262a32493aef6cb3e1f61579;hp=371026a18a8a4f5c263f89da9d0e32c809d87a57;hpb=bf517dafc122edf6ccd86847f0626cfd0df9f340;p=platal.git diff --git a/templates/include/minifiche.tpl b/templates/include/minifiche.tpl index 371026a..ac57278 100644 --- a/templates/include/minifiche.tpl +++ b/templates/include/minifiche.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2007 Polytechnique.org *} +{* Copyright (C) 2003-2008 Polytechnique.org *} {* http://opensource.polytechnique.org/ *} {* *} {* This program is free software; you can redistribute it and/or modify *} @@ -20,97 +20,107 @@ {* *} {**************************************************************************} - -{if !$c.inscrit || $c.dcd}
{/if} -
- - - -
- {if $c.iso3166} - {$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 ! +
+ {$c.name_display} +
{/if} - {/if} -
-
-
- {if $smarty.session.auth ge AUTH_COOKIE} - {if !$c.wasinscrit && !$c.dcd} - {if $show_action eq ajouter} - {* - *}{icon name=add title="Ajouter à la liste de mes surveillances"} - {else} - {* - *}{icon name=cross title="Retirer de la liste de mes surveillances"} +
+ {if $c.sexe}•{/if} + {if !$c.dcd && ($c.inscrit || $smarty.session.auth eq AUTH_PUBLIC)}{/if} + {$c.name_display} + {if !$c.dcd && ($c.inscrit || $smarty.session.auth eq AUTH_PUBLIC)}{/if} +
+ +
+ {if $c.iso3166_1} + {$c.nat1}  {/if} - {elseif $c.wasinscrit} - {* - *}{icon name=user_suit title="Afficher la fiche"} - {if !$c.dcd} - {* - *}{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 $c.iso3166_2} + {$c.nat2}  {/if} + {if $c.iso3166_3} + {$c.nat3}  {/if} - {/if} - {/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 $smarty.session.perms->hasFlag('admin')} + {if hasPerm('admin')} + {/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} {if $c.mobile && !$c.dcd} - + {/if} {if $c.entreprise} - + - + {/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} @@ -137,8 +153,6 @@ {/if} {/if} - -{if !$c.inscrit || $c.dcd}{/if} {* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}
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} @@ -119,17 +129,23 @@ {/if} {if $c.freetext}
Commentaire:Commentaire : {$c.freetext|nl2br}
- Ce camarade n'a plus d'adresse 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}