From 895f21cfade2ff36c0e9bd247b734923fb97fc5d Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Tue, 9 Jul 2013 13:07:04 +0200 Subject: [PATCH] Show a user's roles in the preferences page --- src/root/user.tt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/root/user.tt b/src/root/user.tt index 25a2b727..718a1442 100644 --- a/src/root/user.tt +++ b/src/root/user.tt @@ -69,11 +69,11 @@ [% END %] - [% IF !create && c.check_user_roles('admin') %] + [% IF !create %]
- [% INCLUDE roleoption role="admin" %] [% INCLUDE roleoption role="create-project" %]