summaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2009-08-13 17:52:04 +0200
committerlpsolit%gmail.com <>2009-08-13 17:52:04 +0200
commitcb438138c8959e3e0f20375905316292d1e0b1f5 (patch)
tree78972530efb1fff18b668bb44efb72300ff313e9 /template
parent90599db3c3ad3def2052abef42ae80a6f6490727 (diff)
downloadbugzilla-cb438138c8959e3e0f20375905316292d1e0b1f5.tar.gz
bugzilla-cb438138c8959e3e0f20375905316292d1e0b1f5.tar.xz
Bug 214861: Allow loading of stored queries as the bug set for reporting - Patch by Frédéric Buclin <LpSolit@gmail.com> r=gerv a=LpSolit
Diffstat (limited to 'template')
-rw-r--r--template/en/default/reports/create-chart.html.tmpl18
1 files changed, 17 insertions, 1 deletions
diff --git a/template/en/default/reports/create-chart.html.tmpl b/template/en/default/reports/create-chart.html.tmpl
index d911d03fd..4762c62c0 100644
--- a/template/en/default/reports/create-chart.html.tmpl
+++ b/template/en/default/reports/create-chart.html.tmpl
@@ -260,7 +260,23 @@ function subcatSelected() {
</form>
[% IF user.in_group('editbugs') %]
- <h3><a href="query.cgi?format=create-series">Create New Data Set</a></h3>
+ <h3>Create New Data Set</h3>
+ <p>
+ You can either create a new data set based on one of your saved searches
+ or start with a clean slate.
+ </p>
+
+ <form action="chart.cgi" id="create_series" name="create_series" method="GET">
+ <input type="hidden" name="action" value="convert_search">
+ <label for="series_from_search">Based on:</label>
+ <select id="series_from_search" name="series_from_search">
+ <option value="">(Clean slate)</option>
+ [% FOREACH q = user.queries %]
+ <option value="[% q.name FILTER html %]">[% q.name FILTER html %]</option>
+ [% END %]
+ </select>
+ <input id="submit_create" type="submit" value="Create a new data set">
+ </form>
[% END %]
[% PROCESS global/footer.html.tmpl %]