X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fprofile%2Fprofile.tpl;h=0694db38a0f3b6f7a0765d055e9f8678633631ad;hb=8827fc527a97ffe15a84a23874cd7d7707f3bb92;hp=24b7972c5cfde6848bc44aa8bc829e44c91ecd99;hpb=756ff73fbb0cdd01cce2eda27ba18e1cc99bd735;p=platal.git diff --git a/templates/profile/profile.tpl b/templates/profile/profile.tpl index 24b7972..0694db3 100644 --- a/templates/profile/profile.tpl +++ b/templates/profile/profile.tpl @@ -43,10 +43,12 @@ function chgMainWinLoc(strPage)
{if $photo_url}Photo de {$x.forlife}{/if} {if $logged && ( $x.section|smarty:nodefaults || $x.binets_join|smarty:nodefaults || $x.gpxs_join|smarty:nodefaults)} -

A l'X...

+

À l'X...

{if $x.section}
Section : {$x.section}
{/if} - {if $x.binets_join}
Binet(s) : {$x.binets_join}
{/if} - {if $x.gpxs_join}
Groupe(s) et institution(s) X :
{$x.gpxs_join|smarty:nodefaults}
{/if} + {if $x.binets_join}
Binet{if count($x.binets) > 1}s{/if} : + {$x.binets_join}
{/if} + {if $x.gpxs_join}
Groupe{if count($x.gpxs) > 1}s{/if} et institution{if count($x.gpxs) > 1}s{/if} X : +
{$x.gpxs_join|smarty:nodefaults}
{/if} {/if} {if $x.freetext}

Commentaires :

@@ -65,10 +67,10 @@ function chgMainWinLoc(strPage)  {if !$x.dcd}{* *}{icon name=vcard title="Afficher la carte de visite"}{/if} {if !$x.is_contact} - + {icon name=add title="Ajouter à mes contacts"} {else} - + {icon name=cross title="Retirer de mes contacts"} {/if} {if hasPerm('admin')} @@ -172,7 +174,7 @@ function chgMainWinLoc(strPage)

Distinctions :

{foreach from=$x.medals item=m}
- {$m.medal} + {$m.medal}
{$m.medal}
{$m.grade}
@@ -187,13 +189,19 @@ function chgMainWinLoc(strPage) {$x.cv|miniwiki:title|smarty:nodefaults}
{/if} - {if !$logged} + {if $view eq 'public'}
Cette fiche est publique et visible par tout internaute,
vous pouvez aussi voir celle réservée aux X.
+ {elseif $view eq 'ax'} +
+ + Cette fiche est privée et ne recense que les informations transmises à l'AX. + +
{/if}