X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;ds=sidebyside;f=templates%2Fprofile%2Fdeco.tpl;h=234ba70c9e9cee17e3faceab8bd33b20f4def816;hb=7937d89ecfc74726af9ae64d9211d53e6bbcc4e5;hp=935ce490c641c5ac67b11eef5984c38f8f39cdf2;hpb=85cc366b075d06f805c16ac3df82acabdedcef3d;p=platal.git diff --git a/templates/profile/deco.tpl b/templates/profile/deco.tpl index 935ce49..234ba70 100644 --- a/templates/profile/deco.tpl +++ b/templates/profile/deco.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2007 Polytechnique.org *} +{* Copyright (C) 2003-2014 Polytechnique.org *} {* http://opensource.polytechnique.org/ *} {* *} {* This program is free software; you can redistribute it and/or modify *} @@ -20,112 +20,52 @@ {* *} {**************************************************************************} - - - +{if !hasPerm('directory_private') && ($medals_pub eq 'private') && ($medals|@count neq 0)} +{assign var=hidden_medal value=true} +{else} +{assign var=hidden_medal value=false} +{/if} +{if !$hidden_medal} +{/if}
- Médailles, Décorations, Prix, ... +
+ +
+ Médailles, Décorations, Prix…{if $hidden_medal} (masqué){/if}
-
-
- -
-
- ces informations sont normalement publiques (JO, ...) mais tu peux choisir de les associer a ta fiche publique -
-
- + {foreach from=$medal_list key=type item=list} - + {foreach from=$list item=m} {/foreach} {/foreach} - - {icon name=add title="Ajouter cette médaille"} +
{foreach from=$medals item=medal key=id} {include file="profile/deco.medal.tpl" medal=$medal id=$id} {/foreach} +

+ + Si {if $isMe}ta{else}la{/if} décoration + ou {if $isMe}ta{else}la{/if} médaille ne figure pas dans la liste, + contacte-nous. + +

- - -{* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *} +{* vim:set et sw=2 sts=2 sws=2 fenc=utf-8: *}