From 0d21631fd35a369558289157ce01b9b16d382c47 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 Signed-off-by: Chris Cormack --- .../opac-tmpl/bootstrap/en/modules/opac-full-serial-issues.tt | 10 ++++++++-- koha-tmpl/opac-tmpl/prog/en/modules/opac-full-serial-issues.tt | 2 -- 2 files changed, 8 insertions(+), 4 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 ceda257..6688e51 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 %] @@ -271,4 +277,4 @@ } //]]> -[% END %] \ No newline at end of file +[% 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