From 2f804027b44c5790d4547f3161bff28266150bef Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Tue, 10 Nov 2009 16:31:47 +0000 Subject: Bug 505039: Use $user->is_timetracker instead of $user->in_group(Bugzilla->params->{'timetrackinggroup'}) - Patch by XqueZme r/a=LpSolit --- template/en/default/bug/edit.html.tmpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'template/en/default/bug/edit.html.tmpl') 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 %]
[% PROCESS section_timetracking %] [% END %] -- cgit v1.2.3-24-g4f1b