X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fprofile%2Fdeco.tpl;h=2dec241110e7e015157d356e0b2191b90d4c9581;hb=e9a46d1a6839b5efc9a651a601fca80b9af70e7f;hp=84b1409755faec73461a19ccdd53b5fdfa063ed4;hpb=301e3543efce642475e428cfab02a8a38b4ed3f8;p=platal.git diff --git a/templates/profile/deco.tpl b/templates/profile/deco.tpl index 84b1409..2dec241 100644 --- a/templates/profile/deco.tpl +++ b/templates/profile/deco.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2008 Polytechnique.org *} +{* Copyright (C) 2003-2011 Polytechnique.org *} {* http://opensource.polytechnique.org/ *} {* *} {* This program is free software; you can redistribute it and/or modify *} @@ -20,26 +20,29 @@ {* *} {**************************************************************************} +{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}
-
- - - bien que publiques (JO, ...), tu peux choisir de ne pas associer ces informations à ta fiche publique - -
{* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}