diff options
author | lpsolit%gmail.com <> | 2009-10-04 23:00:24 +0200 |
---|---|---|
committer | lpsolit%gmail.com <> | 2009-10-04 23:00:24 +0200 |
commit | f479111025e02b8b751686fc2919e03981368552 (patch) | |
tree | c840db4464f1492b7003c874cd475e852e29d8d0 /template/en/default/reports/create-chart.html.tmpl | |
parent | 1c431100cc82989b40652706add9f024de30ca56 (diff) | |
download | bugzilla-f479111025e02b8b751686fc2919e03981368552.tar.gz bugzilla-f479111025e02b8b751686fc2919e03981368552.tar.xz |
Bug 302542: Implement the ability to delete data sets (series) in New Charts - Patch by Frédéric Buclin <LpSolit@gmail.com> r=gerv a=LpSolit
Diffstat (limited to 'template/en/default/reports/create-chart.html.tmpl')
-rw-r--r-- | template/en/default/reports/create-chart.html.tmpl | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/template/en/default/reports/create-chart.html.tmpl b/template/en/default/reports/create-chart.html.tmpl index 0466b11c1..e2b6090fe 100644 --- a/template/en/default/reports/create-chart.html.tmpl +++ b/template/en/default/reports/create-chart.html.tmpl @@ -120,7 +120,7 @@ function subcatSelected() { <h3>List Of Data Sets To Plot</h3> - [% IF chart.lines.size > 0 %] + [% IF chart.lines.size %] <table cellspacing="2" cellpadding="2"> <tr> <th style="width: 5em;">Select</th> @@ -173,9 +173,11 @@ function subcatSelected() { </td> <td align="center"> - [% IF user.id == series.creator OR user.in_group("admin") %] + [% IF user.id == series.creator_id OR user.in_group("admin") %] <a href="chart.cgi?action=edit&series_id= [% series.series_id %]">Edit</a> | + <a href="chart.cgi?action=confirm-delete&series_id= + [%- series.series_id %]">Delete</a> | [% END %] <a href="buglist.cgi?cmdtype=dorem&namedcmd= [% series.category FILTER url_quote %]%20/%20 |