From 44c1a8cdd3258527112b5fa549f145d32a059924 Mon Sep 17 00:00:00 2001 From: Magnus Enger Date: Sun, 28 May 2017 22:02:09 +0200 Subject: [PATCH] Add charts to the items page Needs tweaking of the layout and UTF-8. --- Koha/Plugin/No/Libriotech/Overview/items.tt | 66 ++++++++++++++++++--- 1 file changed, 58 insertions(+), 8 deletions(-) diff --git a/Koha/Plugin/No/Libriotech/Overview/items.tt b/Koha/Plugin/No/Libriotech/Overview/items.tt index 5fa51cb..a757698 100644 --- a/Koha/Plugin/No/Libriotech/Overview/items.tt +++ b/Koha/Plugin/No/Libriotech/Overview/items.tt @@ -21,20 +21,70 @@ var randomColorGenerator = function () {

Items

[% BLOCK grouped_list %] - +
+
+
    + [% FOREACH d IN data %] +
  • [% d.count %][% d.name %] ([% d.alt %])
  • + [% END %] +
+
+
+
+ +
+
+
+ + [% END %]

Itemtypes

-[% PROCESS grouped_list data=itemtypes %] +[% PROCESS grouped_list data=itemtypes slug="itemtypes" %]

Homebranch

-[% PROCESS grouped_list data=homebranch %] +[% PROCESS grouped_list data=homebranch slug="homebranch" %]

Holdingbranch

-[% PROCESS grouped_list data=holdingbranch %] +[% PROCESS grouped_list data=holdingbranch slug="holdingbranch" %] + + [% INCLUDE 'intranet-bottom.inc' %]