From 94e3a8e9257f4e22ee7a09fbc9c1235fe37fb8a8 Mon Sep 17 00:00:00 2001 From: Thomas Minvielle Date: Sun, 9 Feb 2014 00:19:33 +0100 Subject: [PATCH] Show ax_id on profile for admins. --- templates/profile/profile.tpl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/templates/profile/profile.tpl b/templates/profile/profile.tpl index c585736..ff67147 100644 --- a/templates/profile/profile.tpl +++ b/templates/profile/profile.tpl @@ -96,7 +96,8 @@ $($.closeOnEsc);
{if $profile->isFemale()}•{/if} - {if $view->isVisible(#Visibility::EXPORT_PRIVATE#)}{$profile->private_name}{else}{$profile->public_name}{/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 $logged}  {if !$profile->isDead()}{* -- 2.1.4