-
-
-
Mana Knowledge Base report search results
+[% WRAPPER 'main-container.inc' aside='guided-reports-view' %] +Mana Knowledge Base report search results
-
- [% IF statuscode == "200" AND reports %]
-
-
-
- [% ELSE %]
-
- [% IF ( msg ) %]
- [% msg | html %] (Status code: [% statuscode | html %])
+
+[% END %]
+[% INCLUDE 'intranet-bottom.inc' %]
| Report name | -Notes | -Type | -# of users | -Last import | -Comments | - [% UNLESS search_only %] -Actions | - [% END %] -
|---|---|---|---|---|---|---|
| - - [% IF ( report.report_name ) %] - [% report.report_name | html %] - [% END %] - | -
- [% IF report.notes.length > 200 %]
-
- [% report.notes.substr(0,200) | html %]... Show more
-
-
- [% ELSE %]
- [% report.notes | html %]
- [% END %]
- |
- [% report.type | html %] | -- [% IF ( report.nbofusers ) %] - [% report.nbofusers | html %] - [% END %] - | -[% report.lastimport | $KohaDates %] | -
- [% FOREACH comment IN report.comments %]
- [% comment.message | html %]
- ([% comment.nb | html %]) - [% END %] - |
-
- [% UNLESS search_only %]
- - - | - [% END %] -
- [% IF ( msg ) %]
- [% msg | html %] (Status code: [% statuscode | html %])
+
+ [% IF statuscode == "200" AND reports %]
+
+
+
+ Report name
+ Notes
+ Type
+ # of users
+ Last import
+ Comments
+ [% UNLESS search_only %]
+ Actions
+ [% END %]
+
+
+
+ [% FOREACH report IN reports %]
+ [% UNLESS report.cannotdisplay %]
+ [% IF report.nbofcomment > highWarned %]
+ [% SET tr_class = 'high-warned-row' %]
+ [% ELSIF report.nbofcomment > warned %]
+ [% SET tr_class = 'warned-row' %]
+ [% ELSIF report.nbofcomment > lowWarned %]
+ [% SET tr_class = 'highlighted-row' %]
[% ELSE %]
- No results found
+ [% SET tr_class = '' %]
[% END %]
-
+
+
+
+ [% IF ( report.report_name ) %]
+ [% report.report_name | html %]
+ [% END %]
+
+
+ [% IF report.notes.length > 200 %]
+
+ [% report.notes.substr(0,200) | html %]... Show more
+
+
+ [% ELSE %]
+ [% report.notes | html %]
+ [% END %]
+
+ [% report.type | html %]
+
+ [% IF ( report.nbofusers ) %]
+ [% report.nbofusers | html %]
+ [% END %]
+
+ [% report.lastimport | $KohaDates %]
+
+ [% FOREACH comment IN report.comments %]
+ [% comment.message | html %]
+ ([% comment.nb | html %])
+ [% END %]
+
+
+ [% UNLESS search_only %]
+
+
+
+ [% END %]
+
+ [% END %]
[% END %]
-
-
-
-
-
-
-
-
-
+
+
+ [% ELSE %]
+
+ [% IF ( msg ) %]
+ [% msg | html %] (Status code: [% statuscode | html %])
+ [% ELSE %]
+ No results found
+ [% END %]
+
+ [% END %]
-
-
- [% INCLUDE 'intranet-bottom.inc' %]
-
| Report name | +Notes | +Type | +# of users | +Last import | +Comments | + [% UNLESS search_only %] +Actions | + [% END %] +
|---|---|---|---|---|---|---|
| + + [% IF ( report.report_name ) %] + [% report.report_name | html %] + [% END %] + | +
+ [% IF report.notes.length > 200 %]
+
+ [% report.notes.substr(0,200) | html %]... Show more
+
+
+ [% ELSE %]
+ [% report.notes | html %]
+ [% END %]
+ |
+ [% report.type | html %] | ++ [% IF ( report.nbofusers ) %] + [% report.nbofusers | html %] + [% END %] + | +[% report.lastimport | $KohaDates %] | +
+ [% FOREACH comment IN report.comments %]
+ [% comment.message | html %]
+ ([% comment.nb | html %]) + [% END %] + |
+
+ [% UNLESS search_only %]
+ + + | + [% END %] +