projects
/
timetracker.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e0929a3
)
Refactor export.tpl to use rights checks (#60)
author
bonnedav
<theD_2011@hotmail.com>
Tue, 3 Apr 2018 01:14:01 +0000
(19:14 -0600)
committer
anuko
<support@anuko.com>
Tue, 3 Apr 2018 01:14:01 +0000
(
01:14
+0000)
WEB-INF/templates/export.tpl
patch
|
blob
|
history
diff --git
a/WEB-INF/templates/export.tpl
b/WEB-INF/templates/export.tpl
index
1c9866e
..
487f009
100644
(file)
--- a/
WEB-INF/templates/export.tpl
+++ b/
WEB-INF/templates/export.tpl
@@
-2,7
+2,7
@@
<table cellspacing="0" cellpadding="7" border="0" width="720">
<tr>
<td align="center">
-{if $user->
isManager(
)}
+{if $user->
can('export_data'
)}
<table border="0" width="60%">
<colgroup>
<col width="50%">