From 2a24bda28f9dcc322ba00dd382d1a96121c00e31 Mon Sep 17 00:00:00 2001 From: Nicolas Iooss Date: Sat, 8 Mar 2014 15:04:48 +0100 Subject: [PATCH] Improve ergonomy of the AX ID field on the profile page --- templates/profile/profile.tpl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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()}{* -- 2.1.4