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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/intranet-main.tt (-5 / +4 lines)
Lines 31-41 Link Here
31
            <div class="col-sm-3">
31
            <div class="col-sm-3">
32
                [% IF ( koha_news.count ) %]
32
                [% IF ( koha_news.count ) %]
33
                    <div id="area-news" class="page-section">
33
                    <div id="area-news" class="page-section">
34
                        <h3><span class="news_title">News</span></h3>
34
                        <h3><span class="news_title">Hola mundo</span></h3>
35
                        [% SET show_author = Koha.Preference('NewsAuthorDisplay') == 'staff' || Koha.Preference('NewsAuthorDisplay') == 'both' %]
35
                        [% SET show_author = Koha.Preference('NewsAuthorDisplay') == 'staff' || Koha.Preference('NewsAuthorDisplay') == 'both' %]
36
                        [% FOREACH koha_new IN koha_news %]
36
                        [% FOREACH koha_new IN koha_news %]
37
                            <div class="newsitem" id="news[% koha_new.idnew | html %]"><h4>[% koha_new.title | html %]</h4>
37
                            <div class="newsitem" id="news[% koha_new.idnew | html %]"><h4>[% koha_new.category | html %]</h4>
38
                                <div class="newsbody">[% koha_new.content | $raw %]</div>
38
                                <div class="newsbody">[% koha_new.content| $raw %]</div>
39
                                <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 %]
39
                                <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 %]
40
                                    [% IF ( CAN_user_tools_edit_additional_contents ) %]
40
                                    [% IF ( CAN_user_tools_edit_additional_contents ) %]
41
                                        <a href="/cgi-bin/koha/tools/additional-contents.pl?op=add_form&amp;id=[% koha_new.idnew | uri %]">Edit</a>
41
                                        <a href="/cgi-bin/koha/tools/additional-contents.pl?op=add_form&amp;id=[% koha_new.idnew | uri %]">Edit</a>
Lines 99-105 Link Here
99
99
100
                            [% IF ( UseCourseReserves ) %]
100
                            [% IF ( UseCourseReserves ) %]
101
                                <li>
101
                                <li>
102
                                    <a class="icon_general icon_course_reserves" href="/cgi-bin/koha/course_reserves/course-reserves.pl"><i class="fa fa-fw fa-book"></i>Course reserves</a>
102
                                    <a class="icon_general icon_course_reserves" href="/cgi-bin/koha/course_reserves/course-reserves.pl"><i class="fa fa-fw fa-book"></i>HOLA MUNDO</a>
103
                                </li>
103
                                </li>
104
                            [% END %]
104
                            [% END %]
105
105
106
- 

Return to bug 6473