View | Details | Raw Unified | Return to bug 14272
Collapse All | Expand All

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-main.tt (-3 / +2 lines)
Lines 16-22 Link Here
16
        <li><a href="/cgi-bin/koha/opac-main.pl">Home</a>
16
        <li><a href="/cgi-bin/koha/opac-main.pl">Home</a>
17
        [% IF news_item %]
17
        [% IF news_item %]
18
            <span class="divider">&rsaquo;</span></li>
18
            <span class="divider">&rsaquo;</span></li>
19
            <li>[% news_item.title %]</li>
19
            <li>[% news_item.title | html %]</li>
20
        [% END %]
20
        [% END %]
21
        </li>
21
        </li>
22
    </ul>
22
    </ul>
Lines 77-83 Link Here
77
                [% SET newsdisp = ( Koha.Preference('NewsAuthorDisplay') ) %]
77
                [% SET newsdisp = ( Koha.Preference('NewsAuthorDisplay') ) %]
78
                [% FOREACH koha_new IN koha_news %]
78
                [% FOREACH koha_new IN koha_news %]
79
                    <div class="newsitem">
79
                    <div class="newsitem">
80
                        <a name="newsitem[% koha_new.idnew | html %]" href="/cgi-bin/koha/opac-main.pl?news_id=[% koha_new.idnew %]"><h4 class="newsheader">[% koha_new.title | html %]</h4></a>
80
                        <a name="newsitem[% koha_new.idnew | html %]" href="/cgi-bin/koha/opac-main.pl?news_id=[% koha_new.idnew | uri %]"><h4 class="newsheader">[% koha_new.title | html %]</h4></a>
81
                        <div class="newsbody">[% koha_new.content | $raw %]</div>
81
                        <div class="newsbody">[% koha_new.content | $raw %]</div>
82
                        <div class="newsfooter">(published on [% koha_new.timestamp | $KohaDates with_hours = 1 | html %][% IF ( (newsdisp == 'opac' || newsdisp == 'both') && koha_new.borrowernumber ) %] by <span class="newsauthor_title">[% koha_new.author_title | html %] </span>[% koha_new.author_firstname | html %] [% koha_new.author_surname | html %][% END %])</div>
82
                        <div class="newsfooter">(published on [% koha_new.timestamp | $KohaDates with_hours = 1 | html %][% IF ( (newsdisp == 'opac' || newsdisp == 'both') && koha_new.borrowernumber ) %] by <span class="newsauthor_title">[% koha_new.author_title | html %] </span>[% koha_new.author_firstname | html %] [% koha_new.author_surname | html %][% END %])</div>
83
                    </div>
83
                    </div>
84
- 

Return to bug 14272