From 389baa15514e9e71c169ca2be04fcaa9528e7e39 Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Wed, 13 Jan 2016 16:42:16 +0000 Subject: [PATCH] Bug 14610 [QA Followup] - Add article requets count on detail.pl like it is for holds --- koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css | 6 +++--- .../prog/en/modules/catalogue/detail.tt | 20 +++++++++++++++++++- 2 files changed, 22 insertions(+), 4 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css b/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css index b35e6be..d4b1cc0 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css +++ b/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css @@ -1831,8 +1831,8 @@ ul.budget_hierarchy li:first-child:after { .child_fund_amount { font-style: italic; } -.holdcount { font-size : 105%; line-height : 200%; } -.holdcount a { +.number_box { font-size : 105%; line-height : 200%; } +.number_box a { border : 1px solid #a4bedd; background-color : #e4ecf5; font-weight : bold; @@ -1841,7 +1841,7 @@ ul.budget_hierarchy li:first-child:after { padding : .1em .4em; text-decoration : none; } -.holdcount a:hover { background-color : #ebeff7; } +.number_box a:hover { background-color : #ebeff7; } .container { border : 1px solid #EEE; padding : 1em; diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt index 5cb1cc3..a60ad0c 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt @@ -2,6 +2,7 @@ [% USE KohaDates %] [% USE AuthorisedValues %] [% USE Branches %] +[% USE Biblio %] [% ShowCourseReserves = 0 %] [% IF UseCourseReserves %] @@ -378,7 +379,24 @@ function verify_images() { [% END %] MARC Preview: Show - [% IF ( holdcount ) %]Holds: [% holdcount %][% ELSE %][% END %] + + [% IF ( holdcount ) %] + + Holds: + + [% holdcount %] + + + [% END %] + + [% IF ( article_requests_count = Biblio.ArticleRequestsActiveCount( biblionumber ) ) %] + + Article requests: + + [% article_requests_count %] + + + [% END %] [% IF ( AmazonCoverImages || LocalCoverImages ) %]
-- 2.1.4