Bug 22318: Extend Koha news feature to include other content areas
[koha-equinox.git] / koha-tmpl / opac-tmpl / bootstrap / en / includes / html_helpers.inc
1 [% BLOCK options_for_libraries %]
2     [% FOREACH l IN libraries %]
3         [% IF l.selected %]
4             <option value="[% l.branchcode | html %]" selected="selected">[% l.branchname | html %]</option>
5         [% ELSE %]
6             <option value="[% l.branchcode | html %]">[% l.branchname | html %]</option>
7         [% END%]
8     [% END %]
9 [% END %]
10
11 [% BLOCK koha_news_block %]
12     [% IF ( news.size > 0 ) %]
13         [% FOREACH n IN news %]
14             <div class="[% n.lang | html %]_item">
15                 [% IF ( n.title ) %]
16                     <h4 class="[% n.lang | html %]_header">[% n.title | html %]</h4>
17                 [% END %]
18                 <div class="[% n.lang | html %]_body">[% n.content | $raw %]</div>
19             </div>
20         [% END %]
21     [% END %]
22 [% END %]