From: bonnedav Date: Tue, 3 Apr 2018 01:14:01 +0000 (-0600) Subject: Refactor export.tpl to use rights checks (#60) X-Git-Tag: timetracker_1.19-1~883 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=317b22c142b15ad3ba4b12d07be9b4f4680e0b5a;p=timetracker.git Refactor export.tpl to use rights checks (#60) --- diff --git a/WEB-INF/templates/export.tpl b/WEB-INF/templates/export.tpl index 1c9866ed..487f0097 100644 --- a/WEB-INF/templates/export.tpl +++ b/WEB-INF/templates/export.tpl @@ -2,7 +2,7 @@
-{if $user->isManager()} +{if $user->can('export_data')}