From: Nicolas Iooss Date: Sat, 8 Mar 2014 14:04:48 +0000 (+0100) Subject: Improve ergonomy of the AX ID field on the profile page X-Git-Tag: xorg/1.1.12~11 X-Git-Url: http://git.polytechnique.org/?p=platal.git;a=commitdiff_plain;h=2a24bda28f9dcc322ba00dd382d1a96121c00e31 Improve ergonomy of the AX ID field on the profile page --- diff --git a/templates/profile/profile.tpl b/templates/profile/profile.tpl index 2fee8b6..20acccd 100644 --- a/templates/profile/profile.tpl +++ b/templates/profile/profile.tpl @@ -105,7 +105,9 @@ $($.closeOnEsc);
{if $profile->isFemale()}•{/if} {if $view->isVisible(#Visibility::EXPORT_PRIVATE#)}{$profile->private_name}{else}{$profile->public_name}{/if} - {if hasPerm('admin') || $smarty.session.user->canEdit($profile)} {$profile->ax_id}{/if} + {if ( hasPerm('admin') || $smarty.session.user->canEdit($profile)) && $view->isVisible(#Visibility::EXPORT_PRIVATE#)} + ({$profile->ax_id}) + {/if} {if $logged}  {if !$profile->isDead()}{*