From 98f36ced982178c1a003337af465c6accec665b5 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 | 29 +++++++++++++++++++++- 6 files changed, 90 insertions(+), 1 deletion(-) 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 685ebef..66bea25 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css +++ b/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css @@ -1851,6 +1851,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 1e1fcd2..eb045cd 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() {