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 %]
14 <body id="rep_mana_search" class="rep">
15 [% INCLUDE 'header.inc' %]
16 [% INCLUDE 'circ-search.inc' %]
18 <div id="breadcrumbs">
19 <a href="/cgi-bin/koha/mainpage.pl">Home</a>
20 › <a href="/cgi-bin/koha/reports/reports-home.pl">Reports</a>
21 › <a href="/cgi-bin/koha/reports/guided_reports.pl">Guided reports wizard</a>
22 › Mana Knowledge Base report search results
25 <div class="main container-fluid">
27 <div class="col-sm-10 col-sm-push-2">
29 <h2>Mana Knowledge Base report search results</h2>
31 <div id="mana_results">
32 [% IF statuscode == "200" AND reports %]
34 <table id="mana_results_datatable">
38 <th class="anti-the">Notes</th>
40 <th title="Number of libraries using this pattern"># of users</th>
41 <th title="Last time a library used this pattern">Last import</th>
43 [% UNLESS search_only %]
44 <th class="NoSort noExport">Actions</th>
49 [% FOREACH report IN reports %]
50 [% UNLESS report.cannotdisplay %]
51 [% IF report.nbofcomment > highWarned %]
52 <tr id="row[% report.id | html %]" class="high-warned-row">
53 [% ELSIF report.nbofcomment > warned %]
54 <tr id="row[% report.id | html %]" class="warned-row">
55 [% ELSIF report.nbofcomment > lowWarned %]
56 <tr id="row[% report.id | html %]" class="highlighted-row">
58 <tr id="row[% report.id | html %]">
61 <input type="hidden" class="rowid" value="[% report.id | $raw %]" />
62 [% IF ( report.report_name ) %]
63 [% report.report_name | html %]
66 <td title="[% report.savedsql | html %]">
67 [% IF report.notes.length > 200 %]
69 [% 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>
71 <div style="display:none">
72 [% report.notes | html %]
73 <a href="#" class="btn btn-link btn-sm hidebutton"><i class="fa fa-minus-square-o"></i> Show less</a>
76 [% report.notes | html %]
79 <td> [% report.type | html %] </td>
81 [% IF ( report.nbofusers ) %]
82 [% report.nbofusers | html %]
85 <td data-order="[% report.lastimport | html %]">
86 [% report.lastimport | $KohaDates %]
89 [% FOREACH comment IN report.comments %]
90 [% comment.message | html %] ([% comment.nb | html %])<br>
94 [% UNLESS search_only %]
96 <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>
107 [% msg | html %] (Statuscode: [% statuscode | html %])
116 </div> <!-- /.col-sm-10.col-sm-push-2 -->
118 <div class="col-sm-2 col-sm-pull-10">
120 [% INCLUDE 'guided-reports-view.inc' %]
122 </div> <!-- /.col-sm-2.col-sm-pull-10 -->
123 </div> <!-- /.row -->
125 [% INCLUDE 'intranet-bottom.inc' %]