From 867aef719852c2a5689512d24ba4ae0b7a9942e7 Mon Sep 17 00:00:00 2001 From: "gerv%gerv.net" <> Date: Mon, 8 Dec 2003 06:41:53 +0000 Subject: Bug 218568 - Clean up charting UI. Having played with it for a bit, it needed work. Patch by gerv; r=kiko, a=justdave. --- template/en/default/reports/create-chart.html.tmpl | 197 +++++++++++---------- 1 file changed, 105 insertions(+), 92 deletions(-) (limited to 'template/en/default/reports/create-chart.html.tmpl') diff --git a/template/en/default/reports/create-chart.html.tmpl b/template/en/default/reports/create-chart.html.tmpl index 441bd9b06..9d187fb60 100644 --- a/template/en/default/reports/create-chart.html.tmpl +++ b/template/en/default/reports/create-chart.html.tmpl @@ -34,7 +34,7 @@ donames = 1 %] - + +

List Of Data Sets To Plot

-
[% IF chart.lines.size > 0 %] - +
- + @@ -121,15 +195,13 @@ function subcatSelected() { value="[% series.series_id %]"> - @@ -181,7 +253,7 @@ function subcatSelected() { - - -
SelectAsLabel Data Set Subs - [% IF series.creator != 0 %] - [% IF series.isSubscribed(user.id) %] - - [% ELSE %] - - [% END %] + + [% IF series.creator != 0 AND series.isSubscribed(user.id) %] + + [% ELSE %] + [% END %] + Date Range: @@ -190,92 +262,33 @@ function subcatSelected() { value="[% time2str("%Y-%m-%d", chart.dateto) IF chart.dateto %]"> - - +
[% ELSE %]

None

- [% END %] - -

Select Data Sets:

- - - [% IF NOT category OR category.size == 0 %] - - - - [% ELSE %] - - - - - - - - - - - [% PROCESS series_select sel = { name => 'category', - size => 5, - onchange = "catSelected(); - subcatSelected();" } %] - - - - - [% PROCESS series_select sel = { name => 'subcategory', - size => 5, - onchange = "subcatSelected()" } %] - - - - - + [% END %] + - - - [% END %] -
- You do not have permissions to see any data sets, or none - exist. -
Category:Sub-category:Name:
-
- - - - - - -
-
+

How Subscriptions Work

- - +

+Administrators may mark data sets as public, which then show up in everyone's +list. All others are not public, and you must explicitly subscribe to them in +order for them to appear in your list. +

+

+When you [% IF UserInGroup('editbugs') %] -

New Data Set

-[% END %] + create a new data set, +[% ELSE %] + create a new data set, +[% END %] +you are automatically subscribed to it. When the last person unsubscribes +from a data set, data stops being collected. +

[% PROCESS global/footer.html.tmpl %] -- cgit v1.2.3-24-g4f1b