[Koha-bugs] [Bug 12162] Add class="branchcode" to body tag to make OPAC CSS-styleable per branch

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Aug 7 10:30:05 CEST 2014


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12162

--- Comment #24 from paxed <pasi.kallinen at pttk.fi> ---
(In reply to Marc Véron from comment #23)
> 
> Paxed proposed in comment #9 to work with an include similar to
> koha-tmpl/intranet-tmpl/prog/en/includes/doc-head-open.inc
> ( BTW:I see there an if-else construct inside a html-tag? )
> 
> But the most of the .tt files have an individual ID inside the body tag, like
> en/modules/opac-addbybiblionumber.tt:<body id="addtolist" class="popup">
> 
> Any hint for an alternative to my solution is welcome :-)

Both PROCESS and INCLUDE allow for parameters, so perhaps something like

[% PROCESS bodytag.inc bodyid="addtolist" %]

and then use the bodyid variable as the id...

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list