X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;ds=sidebyside;f=templates%2Ffiche.tpl;h=2c80d5dda0bbcdf974aec0158cbcf4ae965ecd38;hb=1f53925a716bf5cb97ed624a6787a8319eb2bcff;hp=6ed7256488cba66f521fbdced02516a75b4a117f;hpb=e8599c21fcbd18beb8551368450174f35774794a;p=platal.git diff --git a/templates/fiche.tpl b/templates/fiche.tpl index 6ed7256..2c80d5d 100644 --- a/templates/fiche.tpl +++ b/templates/fiche.tpl @@ -33,7 +33,7 @@ function chgMainWinLoc( strPage ) { {/literal} {if $logged and $x.forlife eq $smarty.session.forlife} -[Modifier ma fiche] +[Modifier ma fiche] {/if} @@ -43,24 +43,20 @@ function chgMainWinLoc( strPage ) { {if $x.sexe}•{/if} {$x.prenom} {if $x.nom_usage eq ""}{$x.nom}{else}{$x.nom_usage} ({$x.nom}){/if} {if $logged} - {if $x.nickname} (aka {$x.nickname}){/if}  - - Afficher la carte de visite - + {if $x.nickname} (alias {$x.nickname}){/if}  + {* + *}{icon name=vcard title="Afficher la carte de visite"} {if !$x.is_contact} - - Ajouter à mes contacts - + + {icon name=add title="Ajouter à mes contacts"} {else} - - Retirer de mes contacts - + + {icon name=cross title="Retirer de mes contacts"} + {/if} + {if $smarty.session.perms eq admin} + + {icon name=wrench title="administrer user"} {/if} - {perms level=admin} - - admin - - {/perms} {/if} {if $logged} @@ -75,15 +71,19 @@ function chgMainWinLoc( strPage ) {
{if $x.dcd} Décédé{if $x.sexe}e{/if} le {$x.deces|date_format} + {elseif !$x.actif} + Ce camarade n'a plus d'adresse redirection valide,
+ clique ici si tu connais son adresse email ! {elseif !$x.inscrit} - Le compte de cette personne n'est pas actif (personne non inscrite ou exclue). + Cette personne n'est pas inscrite à Polytechnique.org,
+ clique ici si tu connais son adresse email ! {else} {if $virtualalias} {$virtualalias}
{/if} - {$x.bestalias}@polytechnique.org + {$x.bestalias}@{#globals.mail.domain#} {if $x.bestalias neq $x.forlife}
- {$x.forlife}@polytechnique.org + {$x.forlife}@{#globals.mail.domain#} {/if} {/if}
@@ -96,7 +96,7 @@ function chgMainWinLoc( strPage ) { {/if}
{if $x.iso3166} - {$x.nationalite}  + {$x.nationalite}  {/if} X {$x.promo} {if ($x.promo_sortie-3 > $x.promo)} @@ -107,7 +107,7 @@ function chgMainWinLoc( strPage ) { {/if} {if $logged} {if $x.is_referent} - [Ma fiche référent] + [Ma fiche référent] {/if} {/if}
@@ -120,7 +120,7 @@ function chgMainWinLoc( strPage ) { {if $x.gpxs_join}
Groupe(s) X : {$x.gpxs_join|smarty:nodefaults}
{/if} {/if} {if $x.web}
Site Web : {$x.web}
{/if} - {if $x.freetext}
Commentaires :
{$x.freetext|nl2br}
{/if} + {if $x.freetext}
Commentaires :
{$x.freetext|nl2br|smarty:nodefaults}
{/if} {if $x.adr} @@ -160,7 +160,7 @@ function chgMainWinLoc( strPage ) {
{/if} {/if} -
- {$m.medal} + {$m.medal} {$m.medal} @@ -183,7 +183,12 @@ function chgMainWinLoc( strPage ) {
+{if !$logged} +Cette fiche est publique et visible par tout internaute, +vous pouvez aussi voir celle réservée aux X. + +{/if} + {* vim:set et sw=2 sts=2 sws=2: *}