[% IF ( CAN_user_reports_create_reports ) %]
[% END %] [% IF ( showsql || execute || editsql || save_successful ) %] [% IF ( CAN_user_reports_create_reports ) %] [% UNLESS ( editsql ) # Do not show edit button on edit page %]
Edit
[% END %]
Duplicate
[% END %] [% IF ( CAN_user_reports_delete_reports ) %]
Delete
[% END %] [% UNLESS ( errors ) # Unless there are errors saving a report %]
Run report
Schedule
[% END %] [% IF ( execute ) %]
Show SQL code
[% END %] [% END %]