summaryrefslogtreecommitdiffstats
path: root/template/en/default/bug/edit.html.tmpl
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2009-11-10 17:31:47 +0100
committerlpsolit%gmail.com <>2009-11-10 17:31:47 +0100
commit2f804027b44c5790d4547f3161bff28266150bef (patch)
treea5d9fff8ab4b48d71bea0157bfa3f856fc437b7c /template/en/default/bug/edit.html.tmpl
parentf7b1e5c5e27780f4bb1be7c9a44f1a91024473e4 (diff)
downloadbugzilla-2f804027b44c5790d4547f3161bff28266150bef.tar.gz
bugzilla-2f804027b44c5790d4547f3161bff28266150bef.tar.xz
Bug 505039: Use $user->is_timetracker instead of $user->in_group(Bugzilla->params->{'timetrackinggroup'}) - Patch by XqueZme <xquezme@gmail.com> r/a=LpSolit
Diffstat (limited to 'template/en/default/bug/edit.html.tmpl')
-rw-r--r--template/en/default/bug/edit.html.tmpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/template/en/default/bug/edit.html.tmpl b/template/en/default/bug/edit.html.tmpl
index 853ad7287..813e80cb2 100644
--- a/template/en/default/bug/edit.html.tmpl
+++ b/template/en/default/bug/edit.html.tmpl
@@ -115,7 +115,7 @@
return text;
}
-[% IF user.in_group(Param('timetrackinggroup')) %]
+[% IF user.is_timetracker %]
var fRemainingTime = [% bug.remaining_time %]; // holds the original value
function adjustRemainingTime() {
// subtracts time spent from remaining time
@@ -213,7 +213,7 @@
[% PROCESS section_restrict_visibility %]
- [% IF user.in_group(Param('timetrackinggroup')) %]
+ [% IF user.is_timetracker %]
<br>
[% PROCESS section_timetracking %]
[% END %]