summaryrefslogtreecommitdiffstats
path: root/template/en/default/bug/show.xml.tmpl
diff options
context:
space:
mode:
authormozilla%colinogilvie.co.uk <>2006-06-27 06:05:31 +0200
committermozilla%colinogilvie.co.uk <>2006-06-27 06:05:31 +0200
commitcb1a77094a983e1e884b21e6b4086fb0dbc3ea7b (patch)
tree9ece160f92ee5a75864962ce913e7beafb08fcef /template/en/default/bug/show.xml.tmpl
parent824ffa84a45642d92fd1e52e01f161671dc97e29 (diff)
downloadbugzilla-cb1a77094a983e1e884b21e6b4086fb0dbc3ea7b.tar.gz
bugzilla-cb1a77094a983e1e884b21e6b4086fb0dbc3ea7b.tar.xz
Bug 341538: Missing information in XML for Time Tracking and Duplicate Bugs
Patch by Colin Ogilvie <colin.ogilvie@gmail.com>; r=LpSolit; a=justdave
Diffstat (limited to 'template/en/default/bug/show.xml.tmpl')
-rw-r--r--template/en/default/bug/show.xml.tmpl5
1 files changed, 5 insertions, 0 deletions
diff --git a/template/en/default/bug/show.xml.tmpl b/template/en/default/bug/show.xml.tmpl
index 27fa175da..1e35d8f36 100644
--- a/template/en/default/bug/show.xml.tmpl
+++ b/template/en/default/bug/show.xml.tmpl
@@ -17,8 +17,10 @@
# Rights Reserved.
#
# Contributor(s): Bradley Baetz <bbaetz@student.usyd.edu.au>
+ # Colin Ogilvie <mozilla@colinogilvie.co.uk>
#
#%]
+[% PROCESS bug/time.html.tmpl %]
<?xml version="1.0" [% IF Param('utf8') %]encoding="UTF-8" [% END %]standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "[% Param('urlbase') %]bugzilla.dtd">
@@ -69,6 +71,9 @@
<long_desc isprivate="[% c.isprivate FILTER xml %]">
<who>[% c.email FILTER xml %]</who>
<bug_when>[% c.time FILTER time FILTER xml %]</bug_when>
+ [% IF UserInGroup(Param('timetrackinggroup')) && (c.work_time - 0 != 0) %]
+ <work_time>[% PROCESS formattimeunit time_unit = c.work_time FILTER xml %]</work_time>
+ [% END %]
<thetext>[% c.body FILTER xml %]</thetext>
</long_desc>
[% END %]