diff options
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 |