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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/intranet-main.tt (-4 / +3 lines)
Lines 27-36 Link Here
27
            <div class="col-sm-3">
27
            <div class="col-sm-3">
28
                [% IF ( koha_news.count ) %]
28
                [% IF ( koha_news.count ) %]
29
                    <div id="area-news">
29
                    <div id="area-news">
30
                        <h3><span class="news_title">News</span></h3>
30
                        <h2><span class="news_title">News</span></h2>
31
                        [% SET show_author = Koha.Preference('NewsAuthorDisplay') == 'staff' || Koha.Preference('NewsAuthorDisplay') == 'both' %]
31
                        [% SET show_author = Koha.Preference('NewsAuthorDisplay') == 'staff' || Koha.Preference('NewsAuthorDisplay') == 'both' %]
32
                        [% FOREACH koha_new IN koha_news %]
32
                        [% FOREACH koha_new IN koha_news %]
33
                            <div class="newsitem" id="news[% koha_new.idnew | html %]"><h4>[% koha_new.title | html %]</h4>
33
                            <div class="newsitem" id="news[% koha_new.idnew | html %]"><h3>[% koha_new.title | html %]</h3>
34
                                <div class="newsbody">[% koha_new.content | $raw %]</div>
34
                                <div class="newsbody">[% koha_new.content | $raw %]</div>
35
                                <p class="newsfooter"> Posted on [% koha_new.published_on | $KohaDates %][% IF( show_author && koha_new.author ) %] by <span class="newsauthor">[% INCLUDE 'patron-title.inc' patron=koha_new.author %]<br />[% END %]
35
                                <p class="newsfooter"> Posted on [% koha_new.published_on | $KohaDates %][% IF( show_author && koha_new.author ) %] by <span class="newsauthor">[% INCLUDE 'patron-title.inc' patron=koha_new.author %]<br />[% END %]
36
                                    [% IF ( CAN_user_tools ) %]
36
                                    [% IF ( CAN_user_tools ) %]
Lines 45-51 Link Here
45
                [% END %]
45
                [% END %]
46
                [% IF ( daily_quote ) %]
46
                [% IF ( daily_quote ) %]
47
                    <div id="area-news">
47
                    <div id="area-news">
48
                        <h3>Quote of the day</h3>
48
                        <h2>Quote of the day</h2>
49
                        <div class="newsitem">
49
                        <div class="newsitem">
50
                            <span id="daily-quote-text">[% daily_quote.text | html %]</span><span id="daily-quote-sep"> ~ </span><span id="daily-quote-source">[% daily_quote.source | html %]</span>
50
                            <span id="daily-quote-text">[% daily_quote.text | html %]</span><span id="daily-quote-sep"> ~ </span><span id="daily-quote-source">[% daily_quote.source | html %]</span>
51
                        </div>
51
                        </div>
52
- 

Return to bug 27741