From 7aeb36ac342824fba60754984559fe5655212ff6 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Wed, 30 Jan 2013 10:33:25 +0100 Subject: [PATCH] Bug 9068: Baebeltheque - add podcast Test plan: check that there is no regression on the opac detail page. Signed-off-by: Bernardo Gonzalez Kriegel Comment: Small patch. No errors Signed-off-by: Paul Poulain Signed-off-by: Jared Camins-Esakov --- .../opac-tmpl/prog/en/css/babeltheque.css | 27 ++++++++++++++++--- .../opac-tmpl/prog/en/modules/opac-detail.tt | 8 +++++- 2 files changed, 30 insertions(+), 5 deletions(-) diff --git a/koha-tmpl/opac-tmpl/prog/en/css/babeltheque.css b/koha-tmpl/opac-tmpl/prog/en/css/babeltheque.css index 95406ec357..9ada7073af 100644 --- a/koha-tmpl/opac-tmpl/prog/en/css/babeltheque.css +++ b/koha-tmpl/opac-tmpl/prog/en/css/babeltheque.css @@ -83,12 +83,27 @@ So: it should not be removed from Koha ! content : '> '; } +#BW_podcasts { + border: 1px solid #E8E8E8; + margin-top: 10px; + min-width: 100%; + float: left; + /*width: 49%;*/ + visibility: hidden; + visibility: visible\9; +} + +#BW_podcasts > iframe { + margin: -20px 0 10px 20px; +} + #BW_videos { - clear : both; + clear :left; border: 1px solid #E8E8E8; - padding-bottom: 140px; margin-top: 10px; - max-width: 100%; + min-width: 100%; + /*width: 49%;*/ + float: left; visibility: hidden; visibility: visible\9; } @@ -97,7 +112,11 @@ So: it should not be removed from Koha ! visibility: visible; } -#BW_videos h2 { +#BW_podcasts:not(:empty) { + visibility: visible; +} + +#BW_videos h2, #BW_podcasts h2 { background-color: #E8E8E8; margin: 5px 10px; padding: 0 5px; diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt b/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt index 6321efd3e9..c77d806208 100644 --- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt +++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt @@ -1359,7 +1359,13 @@ YAHOO.util.Event.onContentReady("furtherm", function () {
-
+
+
+
+
+
+
+
[% END %] -- 2.39.5