4 [% USE AuthorisedValues %]
8 [% INCLUDE 'doc-head-open.inc' %]
9 <title>Koha › Reports › Mana Knowledge Base reports search</title>
10 [% INCLUDE 'doc-head-close.inc' %]
11 [% Asset.css("css/reports.css") | $raw %]
12 [% Asset.css("css/datatables.css") | $raw %]
15 <body id="rep_mana_search" class="rep">
16 [% INCLUDE 'header.inc' %]
17 [% INCLUDE 'circ-search.inc' %]
19 <div id="breadcrumbs">
20 <a href="/cgi-bin/koha/mainpage.pl">Home</a>
21 › <a href="/cgi-bin/koha/reports/reports-home.pl">Reports</a>
22 › <a href="/cgi-bin/koha/reports/guided_reports.pl">Guided reports wizard</a>
23 › Mana Knowledge Base report search results
26 <div class="main container-fluid">
28 <div class="col-sm-10 col-sm-push-2">
30 <h2>Mana Knowledge Base report search results</h2>
32 <div id="mana_results">
33 [% IF statuscode == "200" AND reports %]
35 <table id="mana_results_datatable">
39 <th class="anti-the">Notes</th>
41 <th title="Number of libraries using this pattern"># of users</th>
42 <th class="title-string" title="Last time a library used this pattern">Last import</th>
44 [% UNLESS search_only %]
45 <th class="NoSort">Actions</th>
50 [% FOREACH report IN reports %]
51 [% UNLESS report.cannotdisplay %]
52 [% IF report.nbofcomment > highWarned %]
53 <tr id="row[% report.id | html %]" class="high-warned-row">
54 [% ELSIF report.nbofcomment > warned %]
55 <tr id="row[% report.id | html %]" class="warned-row">
56 [% ELSIF report.nbofcomment > lowWarned %]
57 <tr id="row[% report.id | html %]" class="highlighted-row">
59 <tr id="row[% report.id | html %]">
62 <input type="hidden" class="rowid" value="[% report.id | $raw %]" />
63 [% IF ( report.report_name ) %]
64 [% report.report_name | html %]
67 <td title="[% report.savedsql | html %]">
68 [% IF report.notes.length > 200 %]
70 [% report.notes.substr(0,200) | html %]... <a href="#" class="btn btn-link btn-sm showbutton"><i class="fa fa-plus-square-o"></i> Show more</a>
72 <div style="display:none">
73 [% report.notes | html %]
74 <a href="#" class="btn btn-link btn-sm hidebutton"><i class="fa fa-minus-square-o"></i> Show less</a>
77 [% report.notes | html %]
80 <td> [% report.type | html %] </td>
82 [% IF ( report.nbofusers ) %]
83 [% report.nbofusers | html %]
87 <span title="[% report.lastimport | html %]">
88 [% report.lastimport | $KohaDates %]
92 [% FOREACH comment IN report.comments %]
93 [% comment.message | html %] ([% comment.nb | html %])<br>
97 [% UNLESS search_only %]
99 <button type="button" class="btn btn-default btn-xs mana-use" id="mana-use-[% report.id | html %]" data-report_id="[% report.id | html %]"><i class="fa fa-download"></i> Import</button>
110 [% msg | html %] (Statuscode: [% statuscode | html %])
119 </div> <!-- /.col-sm-10.col-sm-push-2 -->
121 <div class="col-sm-2 col-sm-pull-10">
123 [% INCLUDE 'guided-reports-view.inc' %]
125 </div> <!-- /.col-sm-2.col-sm-pull-10 -->
126 </div> <!-- /.row -->
128 [% INCLUDE 'intranet-bottom.inc' %]