summaryrefslogtreecommitdiffstats
path: root/template/en/default/bug/show.html.tmpl
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2005-07-11 07:37:05 +0200
committerlpsolit%gmail.com <>2005-07-11 07:37:05 +0200
commit50181f709d79780ec54c6ed2b90af08327bbdf5b (patch)
tree85cf381d0e99f7f5ba34260eb2d6ed7f85f85f23 /template/en/default/bug/show.html.tmpl
parentf7f3311ba8e7c11dd1860c943eadd3a467a4c6f3 (diff)
downloadbugzilla-50181f709d79780ec54c6ed2b90af08327bbdf5b.tar.gz
bugzilla-50181f709d79780ec54c6ed2b90af08327bbdf5b.tar.xz
Bug 63536: User preference for whether or not to go to the next bug after processing - Patch by byron jones (glob) <bugzilla@glob.com.au> r=LpSolit a=justdave
Diffstat (limited to 'template/en/default/bug/show.html.tmpl')
-rw-r--r--template/en/default/bug/show.html.tmpl37
1 files changed, 24 insertions, 13 deletions
diff --git a/template/en/default/bug/show.html.tmpl b/template/en/default/bug/show.html.tmpl
index 8db59a980..8cb14ee4d 100644
--- a/template/en/default/bug/show.html.tmpl
+++ b/template/en/default/bug/show.html.tmpl
@@ -26,19 +26,30 @@
[%# This script/template only handles one bug #%]
[% bug = bugs.0 %]
-[% filtered_desc = bug.short_desc FILTER html %]
-[% filtered_timestamp = bug.delta_ts FILTER time %]
-[% PROCESS global/header.html.tmpl
- title = "$terms.Bug $bug.bug_id - $bug.short_desc"
- h1 = "$terms.Bugzilla $terms.Bug $bug.bug_id"
- h2 = filtered_desc
- h3 = "Last modified: $filtered_timestamp"
- bodyclasses = ['bz_bug',
- "bz_status_$bug.bug_status",
- "bz_component_$bug.component",
- "bz_bug_$bug.bug_id"
- ]
-%]
+[% IF !header_done %]
+ [% filtered_desc = bug.short_desc FILTER html %]
+ [% filtered_timestamp = bug.delta_ts FILTER time %]
+ [% PROCESS global/header.html.tmpl
+ title = "$terms.Bug $bug.bug_id - $bug.short_desc"
+ h1 = "$terms.Bugzilla $terms.Bug $bug.bug_id"
+ h2 = filtered_desc
+ h3 = "Last modified: $filtered_timestamp"
+ bodyclasses = ['bz_bug',
+ "bz_status_$bug.bug_status",
+ "bz_component_$bug.component",
+ "bz_bug_$bug.bug_id"
+ ]
+ %]
+[% END %]
+
+[% IF nextbug %]
+ <hr>
+ <p>
+ The next [% terms.bug %] in your list is [% terms.bug %]
+ <a href="show_bug.cgi?id=[% bug.bug_id %]">[% bug.bug_id %]</a>:
+ </p>
+ <hr>
+[% END %]
[% PROCESS bug/navigate.html.tmpl %]