From 87aaeb295fb7d93c006decc89b676be8b16a4442 Mon Sep 17 00:00:00 2001 From: Olli-Antti Kivilahti Date: Tue, 28 Jan 2014 12:26:46 +0200 Subject: [PATCH] Bug 11175 - Show the parent record's component parts in the detailed views. Presentation for prog-theme. This displays the injected component part records in the prog theme. -------------------------------------- TEST PLAN -------------------------------------- PREREQUISITES: -AddChildRecordsToDetailedViews system preference needs to be activated. -opacthemes system preference needs to be 'prog'. -template system preference needs to be 'prog'. -Catalog a bunch of child records for a host record. --Search a record and go to detailed view. --Use the existing functionality "+ New" -> "New Child Record" to catalog child records. ------------------------ TEST CASE1 - Staff client ------------------------ -Reindex Zebra -Search for the record you just made childs for and display it in the normal detail.pl -view. -Verify that a list of child records are displayed on the right side of the browser window. ------------------------ TEST CASE2 - OPAC ------------------------ -Reindex Zebra -Search for the record you just made childs for and display it in the opac-detail.pl -view. -Verify that a list of child records are displayed on the right side of the browser window. ------------------------ Thank you! --- .../intranet-tmpl/prog/en/css/staff-global.css | 5 ++++ .../prog/en/modules/catalogue/detail.tt | 12 +++++++++ .../prog/en/xslt/MARC21slim2intranetDetail.xsl | 27 +++++++++++++++++++ koha-tmpl/opac-tmpl/prog/en/css/opac.css | 6 +++++ koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt | 12 +++++++++ .../prog/en/xslt/MARC21slim2OPACDetail.xsl | 31 ++++++++++++++++++++-- 6 files changed, 91 insertions(+), 2 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 07c0b18..4e5b590 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css +++ b/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css @@ -1871,6 +1871,11 @@ span.permissiondesc { .results_summary a { font-weight: normal; } +.componentPartRecordsContainer { + float: right; + overflow-y: auto; + overflow-x: hidden; +} ul.budget_hierarchy { margin-left: 0px; 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 dd8487e..1cd5d4c 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt @@ -172,6 +172,18 @@ function verify_images() {