From 8574906d22a0c7c58fe078231d51cb34565392f3 Mon Sep 17 00:00:00 2001 From: Julian Maurice Date: Thu, 31 Jul 2014 10:37:48 +0200 Subject: [PATCH] Bug 8296: Display publisheddatetext in OPAC bootstrap theme and remove modifications for OPAC prog theme --- .../opac-tmpl/bootstrap/en/modules/opac-full-serial-issues.tt | 8 +++++++- koha-tmpl/opac-tmpl/prog/en/modules/opac-full-serial-issues.tt | 2 -- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-full-serial-issues.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-full-serial-issues.tt index f0b91c1..5e9a6d6 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-full-serial-issues.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-full-serial-issues.tt @@ -85,7 +85,13 @@ [% IF ( serial.publisheddate ) %] - [% serial.publisheddate | $KohaDates %] + + [% IF serial.publisheddatetext %] + [% serial.publisheddatetext %] + [% ELSE %] + [% serial.publisheddate | $KohaDates %] + [% END %] + [% ELSE %]   [% END %] diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-full-serial-issues.tt b/koha-tmpl/opac-tmpl/prog/en/modules/opac-full-serial-issues.tt index 6e32c56..ab48058 100644 --- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-full-serial-issues.tt +++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-full-serial-issues.tt @@ -188,7 +188,6 @@ function showlayer(numlayer){ Date - Date (text) Library Notes Date received @@ -207,7 +206,6 @@ function showlayer(numlayer){   [% END %] - [% serial.publisheddatetext || serial.publisheddate %] [% serial.branchcode %] [% serial.notes %] -- 1.9.1