From 7120e51b4786a03513b27410f37dd3ab0760e0fa 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 --- koha-tmpl/opac-tmpl/bootstrap/en/includes/bodytag.inc | 10 +++++----- koha-tmpl/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 487d7e9..c2c6005 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 2cb2354..f10ba0a 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 @@ -511,7 +518,7 @@ [% END %]
[% END # / IF itemsloop %] - + [% END %] [% IF itemsloop && can_remove_biblios %] -- 2.1.0