From 46eddc60e05590d7d25a0aaaa9d4b6e14dd1c143 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20V=C3=A9ron?= Date: Fri, 18 Jul 2014 23:41:02 +0200 Subject: [PATCH] Bug 12162 Add class="branchcode" to body tag to make OPAC CSS-styleable per branch New proof of concept, with opac-main.tt only (in bootstrap), not for signing-off. It shows how branchcode class would be inserted. If no branch is selected, body tag is: If e.g. branch FFL is selected, body tag is Examples to test styling in OpacUserCSS: /*No branch, default*/ .branch- { background-color: orange; border: 10px solid green; } /*Branch FFL*/ .branch-FFL { background-color: yellow; border: 10px solid pink; } To see what files would have to be changed: Go to folder: koha-tmpl/opac-tmpl/bootstrap/en git grep " - + [% INCLUDE 'masthead.inc' %]
-- 1.7.10.4