summaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
authorbugreport%peshkin.net <>2004-07-21 06:46:46 +0200
committerbugreport%peshkin.net <>2004-07-21 06:46:46 +0200
commit899f61d64550dfd9452972cea600505cc8c7d4e3 (patch)
tree344035c8399a1496554817321a98430ba0a272c9 /template
parent9bbbeca380788e11cbc57b310988b16d6b77586a (diff)
downloadbugzilla-899f61d64550dfd9452972cea600505cc8c7d4e3.tar.gz
bugzilla-899f61d64550dfd9452972cea600505cc8c7d4e3.tar.xz
Bug 245272: Add per-chart negation to boolean searches
r=justdave,myk,timeless a=myk
Diffstat (limited to 'template')
-rw-r--r--template/en/default/search/boolean-charts.html.tmpl11
1 files changed, 10 insertions, 1 deletions
diff --git a/template/en/default/search/boolean-charts.html.tmpl b/template/en/default/search/boolean-charts.html.tmpl
index ba88b67b4..6887321f4 100644
--- a/template/en/default/search/boolean-charts.html.tmpl
+++ b/template/en/default/search/boolean-charts.html.tmpl
@@ -57,7 +57,16 @@
[% FOREACH chart = default.charts %]
[% chartnum = loop.count - 1 %]
<table>
- [% FOREACH row = chart %]
+ <tr>
+ <input type="checkbox" id="negate[% chartnum FILTER html %]"
+ name="negate[% chartnum FILTER html %]" value="1"
+ [% "checked" IF chart.negate %]
+ >
+ <label for="negate[% chartnum FILTER html %]">
+ Not (negate this whole chart)
+ </label>
+ </tr>
+ [% FOREACH row = chart.rows %]
[% rownum = loop.count - 1 %]
<tr>
[% FOREACH col = row %]