aboutsummaryrefslogtreecommitdiffstats
path: root/template/en
diff options
context:
space:
mode:
authorgerv%gerv.net <>2002-07-27 03:37:03 +0000
committergerv%gerv.net <>2002-07-27 03:37:03 +0000
commitb9469415fc8d9fe25b153fcd48b0b4165e369809 (patch)
tree198b56543700fd9244e8e350c073d7c389d5fa13 /template/en
parent177911333aaf0db3860f962d57fe18d6db1fa001 (diff)
downloadbugs-b9469415fc8d9fe25b153fcd48b0b4165e369809.tar
bugs-b9469415fc8d9fe25b153fcd48b0b4165e369809.tar.gz
bugs-b9469415fc8d9fe25b153fcd48b0b4165e369809.tar.bz2
bugs-b9469415fc8d9fe25b153fcd48b0b4165e369809.tar.xz
bugs-b9469415fc8d9fe25b153fcd48b0b4165e369809.zip
Bug 158497 - Templatise colchange.cgi. Patch by gerv; r=burnus.
Diffstat (limited to 'template/en')
-rw-r--r--template/en/default/list/change-columns.html.tmpl56
1 files changed, 39 insertions, 17 deletions
diff --git a/template/en/default/list/change-columns.html.tmpl b/template/en/default/list/change-columns.html.tmpl
index 96e56e8eb..3f2122b38 100644
--- a/template/en/default/list/change-columns.html.tmpl
+++ b/template/en/default/list/change-columns.html.tmpl
@@ -23,29 +23,51 @@
title = "Change Columns"
%]
-Check which columns you wish to appear on the list, and then click
-on submit. (Cookies are required.)
<p>
-<form action="colchange.cgi">
-<input type="hidden" name="rememberedquery" value="[% buffer %]">
+ Select the columns you wish to appear in your buglists. Note that
+ this feature requires cookies to work.
+</p>
+
[% FOREACH column = masterlist %]
- <input type="checkbox" id="[% column %]" name="column_[% column %]" [% "CHECKED" IF lsearch(collist, column) != -1 %]>
- <label for="[% column %]">[% desc.${column} %]</label><br>
+ [% desc.${column} = column %]
[% END %]
-</p><p>
-<input id="nosplitheader" type="radio" name="splitheader" value="0" [% "CHECKED" IF ! splitheader %]>
-<label for="nosplitheader">Normal headers (prettier)</label><br>
-<input id="splitheader" type="radio" name="splitheader" value="1" [% "CHECKED" IF splitheader %]>
-<label for="splitheader">Stagger headers (often makes list more compact)</label>
-</p><p>
-<input type="submit" value="Submit">
+[% desc.summary = "Summary (first 60 characters)" %]
+[% desc.summaryfull = "Full Summary" %]
+
+<form action="colchange.cgi">
+ <input type="hidden" name="rememberedquery" value="[% buffer %]">
+ [% FOREACH column = masterlist %]
+ <input type="checkbox" id="[% column %]" name="column_[% column %]"
+ [% "checked='checked'" IF lsearch(collist, column) != -1 %]>
+ <label for="[% column %]">[% desc.${column} %]</label>
+ <br>
+ [% END %]
+
+ <p>
+ <input id="nosplitheader" type="radio" name="splitheader" value="0"
+ [% "checked='checked'" IF NOT splitheader %]>
+ <label for="nosplitheader">
+ Normal headers (prettier)
+ </label>
+ <br>
+
+ <input id="splitheader" type="radio" name="splitheader" value="1"
+ [% "checked='checked'" IF splitheader %]>
+ <label for="splitheader">
+ Stagger headers (often makes list more compact)
+ </label>
+ </p>
+
+ <p>
+ <input type="submit" value="Change Columns">
+ </p>
</form>
+
<form action="colchange.cgi">
-<input type="hidden" name="rememberedquery" value="[% buffer %]">
-<input type="hidden" name="resetit" value="1">
-<input type="submit" value="Reset to Bugzilla default">
+ <input type="hidden" name="rememberedquery" value="[% buffer %]">
+ <input type="hidden" name="resetit" value="1">
+ <input type="submit" value="Reset to Bugzilla default">
</form>
-</p>
[% PROCESS global/footer.html.tmpl %]