X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Ftemplates%2Fprofile_edit.tpl;h=244c6cb15bc215449322f3d68e72501d6ac5865c;hb=5f64df1308fd641565631e6e38d282432f5e6250;hp=3dc8bc9b4836a9bf0d1892d24f9025fefee9b02e;hpb=a95323ce1ae75fe97d5976b7d177f59dd278207b;p=timetracker.git diff --git a/WEB-INF/templates/profile_edit.tpl b/WEB-INF/templates/profile_edit.tpl index 3dc8bc9b..244c6cb1 100644 --- a/WEB-INF/templates/profile_edit.tpl +++ b/WEB-INF/templates/profile_edit.tpl @@ -141,10 +141,10 @@ function handlePluginCheckboxes() { {$i18n.label.currency}: {$forms.profileForm.currency.control} - {if defined(DEBUG_ROLES)} + {if $user->can('manage_roles')} {$i18n.label.roles}: - {$forms.profileForm.roles.control} {$i18n.label.what_is_it} + {$i18n.label.configure} {/if}