1 <div id="toolbar" class="btn-toolbar">
2 [% IF ( CAN_user_reports_create_reports ) %]<div class="btn-group">
3 <button class="btn btn-small dropdown-toggle" data-toggle="dropdown"><i class="icon-plus"></i> New report <span class="caret"></span></button>
4 <ul class="dropdown-menu">
5 <li id="newmenuc"><a href="/cgi-bin/koha/reports/guided_reports.pl?phase=Build%20new">New guided report</a> </li>
6 <li id="newsql"><a href="/cgi-bin/koha/reports/guided_reports.pl?phase=Create%20report%20from%20SQL">New SQL report</a> </li>
9 [% IF ( showsql || execute || editsql || save_successful ) %]
10 [% UNLESS ( errors ) %][%# Unless there are errors saving a report %]
11 [% UNLESS ( editsql ) %][%# Do not show edit button on edit page %]
12 [% IF ( CAN_user_reports_create_reports ) %]<div class="btn-group"><a id="editreport" class="btn btn-small" href="/cgi-bin/koha/reports/guided_reports.pl?reports=[% id %]&phase=Edit%20SQL"><i class="icon-pencil"></i> Edit</a></div>[% END %]
14 <div class="btn-group"><a id="runreport" class="btn btn-small" href="/cgi-bin/koha/reports/guided_reports.pl?reports=[% id %]&phase=Run%20this%20report"><i class="icon-play"></i> Run report</a></div>