From 4a73df283dbc91a5bd690a6b61d10feee27fe097 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20V=C3=A9ron?= Date: Tue, 22 Jul 2014 17:01:13 +0200 Subject: [PATCH] Bug 12162 Add class="branchcode" to body tag to make OPAC CSS-styleable per branch New proof of concept, for testing translations, with if-construct outside of html tags. However, one var is inside. --- koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-main.tt | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-main.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-main.tt index 5b68c19..ae852aa 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-main.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-main.tt @@ -7,7 +7,12 @@ [% INCLUDE 'masthead.inc' %] -
+[% IF ( LoginBranchcode ) %] + +[% ELSE %] + +[% END %] + -- 1.7.10.4