summaryrefslogtreecommitdiffstats
path: root/template/en/default
diff options
context:
space:
mode:
authorKent Rogers <kar@cray.com>2010-05-26 03:45:33 +0200
committerMax Kanat-Alexander <mkanat@bugzilla.org>2010-05-26 03:45:33 +0200
commit7beba3d36ed5071c7425b69db20db1dc93371343 (patch)
tree20e709b24c5efb45adcd288a198c37445f64c2f1 /template/en/default
parent2fee08231d953149cd3c6e77cf4cffbfd9322ad7 (diff)
downloadbugzilla-7beba3d36ed5071c7425b69db20db1dc93371343.tar.gz
bugzilla-7beba3d36ed5071c7425b69db20db1dc93371343.tar.xz
Bug 271913: Don't force the user to comment when adding Hours Worked
r=mkanat, a=mkanat
Diffstat (limited to 'template/en/default')
-rw-r--r--template/en/default/bug/comments.html.tmpl1
1 files changed, 1 insertions, 0 deletions
diff --git a/template/en/default/bug/comments.html.tmpl b/template/en/default/bug/comments.html.tmpl
index 2f42bbcb7..af6cc2191 100644
--- a/template/en/default/bug/comments.html.tmpl
+++ b/template/en/default/bug/comments.html.tmpl
@@ -89,6 +89,7 @@
[% BLOCK a_comment %]
[% RETURN IF comment.is_private AND ! user.is_insider %]
+ [% RETURN IF comment.body == '' AND comment.work_time != 0 AND !user.is_timetracker %]
<div id="c[% count %]" class="bz_comment[% " bz_private" IF comment.is_private %]
[% " bz_comment_hilite" IF marks.$count %]