4 [% USE AuthorisedValues %]
7 [% PROCESS 'i18n.inc' %]
8 [% INCLUDE 'doc-head-open.inc' %]
9 <title>[% FILTER collapse %]
10 [% t("Mana Knowledge Base reports search") | html %] ›
11 [% t("Reports") | html %] ›
12 [% t("Koha") | html %]
14 [% INCLUDE 'doc-head-close.inc' %]
15 [% Asset.css("css/reports.css") | $raw %]
18 <body id="rep_mana_search" class="rep">
19 [% WRAPPER 'header.inc' %]
20 [% INCLUDE 'circ-search.inc' %]
23 <div id="breadcrumbs">
24 <a href="/cgi-bin/koha/mainpage.pl">Home</a>
25 › <a href="/cgi-bin/koha/reports/reports-home.pl">Reports</a>
26 › <a href="/cgi-bin/koha/reports/guided_reports.pl">Guided reports wizard</a>
27 › Mana Knowledge Base report search results
30 <div class="main container-fluid">
32 <div class="col-sm-10 col-sm-push-2">
34 <h2>Mana Knowledge Base report search results</h2>
36 <div id="mana_results">
37 [% IF statuscode == "200" AND reports %]
39 <table id="mana_results_datatable">
43 <th class="anti-the">Notes</th>
45 <th title="Number of libraries using this pattern"># of users</th>
46 <th title="Last time a library used this pattern">Last import</th>
48 [% UNLESS search_only %]
49 <th class="NoSort noExport">Actions</th>
54 [% FOREACH report IN reports %]
55 [% UNLESS report.cannotdisplay %]
56 [% IF report.nbofcomment > highWarned %]
57 <tr id="row[% report.id | html %]" class="high-warned-row">
58 [% ELSIF report.nbofcomment > warned %]
59 <tr id="row[% report.id | html %]" class="warned-row">
60 [% ELSIF report.nbofcomment > lowWarned %]
61 <tr id="row[% report.id | html %]" class="highlighted-row">
63 <tr id="row[% report.id | html %]">
66 <input type="hidden" class="rowid" value="[% report.id | $raw %]" />
67 [% IF ( report.report_name ) %]
68 [% report.report_name | html %]
71 <td title="[% report.savedsql | html %]">
72 [% IF report.notes.length > 200 %]
74 [% report.notes.substr(0,200) | html %]... <a href="#" class="btn btn-link btn-sm showbutton"><i class="fa-solid fa-square-plus"></i> Show more</a>
76 <div style="display:none">
77 [% report.notes | html %]
78 <a href="#" class="btn btn-link btn-sm hidebutton"><i class="fa-solid fa-square-minus"></i> Show less</a>
81 [% report.notes | html %]
84 <td> [% report.type | html %] </td>
86 [% IF ( report.nbofusers ) %]
87 [% report.nbofusers | html %]
90 <td data-order="[% report.lastimport | html %]">
91 [% report.lastimport | $KohaDates %]
94 [% FOREACH comment IN report.comments %]
95 [% comment.message | html %] ([% comment.nb | html %])<br>
99 [% UNLESS search_only %]
101 <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>
112 [% msg | html %] <span>(Status code: [% statuscode | html %])</span>
114 <span>No results found</span>
121 </div> <!-- /.col-sm-10.col-sm-push-2 -->
123 <div class="col-sm-2 col-sm-pull-10">
125 [% INCLUDE 'guided-reports-view.inc' %]
127 </div> <!-- /.col-sm-2.col-sm-pull-10 -->
128 </div> <!-- /.row -->
130 [% INCLUDE 'intranet-bottom.inc' %]