From fc2fb605e53d8c5774a952bcf620335fbf77c004 Mon Sep 17 00:00:00 2001 From: Bernardo Gonzalez Kriegel Date: Thu, 17 Dec 2015 19:48:32 -0300 Subject: [PATCH] Bug 13618: (follow-up) add missing lines for opac-shelves Proposed patch to fix opac-shelves Signed-off-by: Jonathan Druart Signed-off-by: Katrin Fischer Signed-off-by: Brendan Gallagher brendan@bywatersolutions.com --- koha-tmpl/opac-tmpl/bootstrap/en/includes/bodytag.inc | 10 +++++----- .../opac-tmpl/bootstrap/en/modules/opac-shelves.tt | 9 ++++++++- 2 files changed, 13 insertions(+), 6 deletions(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/includes/bodytag.inc b/koha-tmpl/opac-tmpl/bootstrap/en/includes/bodytag.inc index 487d7e94f4..c2c6005310 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/bodytag.inc +++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/bodytag.inc @@ -1,15 +1,15 @@ [% classprop = 'class="' %] [% IF LoginBranchcode.defined %] - [% classprop = classprop _ 'branch-' _ LoginBranchcode %] + [% classprop = classprop.raw _ 'branch-' _ LoginBranchcode %] [% ELSE %] - [% classprop = classprop _ 'branch-default' %] + [% classprop = classprop.raw _ 'branch-default' %] [% END %] [% IF bodyclass.defined %] - [% classprop = classprop _ ' ' _ bodyclass %] + [% classprop = classprop.raw _ ' ' _ bodyclass %] [% END %] -[% classprop = classprop _ '"' %] +[% classprop = classprop.raw _ '"' %] [% IF bodyid.defined %] [% idprop = 'ID="' _ bodyid _ '" ' %] [% END %] - + diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt index 7caa84c27b..63d848ee3a 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt @@ -157,6 +157,13 @@

[% shelf.shelfname %] + Subscribe to this list + +

+ + [% IF ( itemsloop ) %] +
+
New list | Download list @@ -514,7 +521,7 @@ [% END %]
[% END # / IF itemsloop %] - + [% END %] [% IF itemsloop && can_remove_biblios %] -- 2.39.5