X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fprofile%2Fprofile.tpl;h=7c20986683bf88ef1499054fa0817c8c3c573ab0;hb=cd5bd7dca7db6a980e6d3223aa5f43e0e1742acc;hp=24b7972c5cfde6848bc44aa8bc829e44c91ecd99;hpb=ebd515f95f03f8a87f9b846d65e179b39a535222;p=platal.git
diff --git a/templates/profile/profile.tpl b/templates/profile/profile.tpl
index 24b7972..7c20986 100644
--- a/templates/profile/profile.tpl
+++ b/templates/profile/profile.tpl
@@ -43,10 +43,26 @@ function chgMainWinLoc(strPage)
{if $photo_url}
![Photo de {$x.forlife}]({$photo_url})
{/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.networking}
+
Sur le web...
+ {foreach from=$x.networking item=network}
+
![{$network.name} {$network.name}](profile/networking/{$network.type})
+ {if $network.filter == 'web'}
+
{$network.address}
+ {elseif $network.link != ''}
+
{$network.address}
+ {else}
+ {$network.address}
+ {/if}
+
+ {/foreach}
{/if}
{if $x.freetext}
Commentaires :
@@ -56,19 +72,18 @@ function chgMainWinLoc(strPage)
{/if}
- {if $logged || $x.mobile}
+ {if $logged || $x.tels}
@@ -172,7 +185,7 @@ function chgMainWinLoc(strPage)
Distinctions :
{foreach from=$x.medals item=m}
-
![{$m.medal} {$m.medal}](profile/medal/{$m.id})
+
{$m.medal}
{$m.grade}
@@ -187,13 +200,19 @@ function chgMainWinLoc(strPage)
{$x.cv|miniwiki:title|smarty:nodefaults}
{/if}
- {if !$logged}
+ {if $view eq 'public'}
+ {elseif $view eq 'ax'}
+
+
+ Cette fiche est privée et ne recense que les informations transmises à l'AX.
+
+
{/if}