-<div id="doc3" class="yui-t3">
-<div id="bd">
-<div id="yui-main"><div class="yui-b"><div class="yui-g">
-
-<h1>Welcome to Koha</h1>
-
- <div class="yui-u first">
- <!-- START - CIRCULATION -->
- [% IF ( CAN_user_circulate ) %]
- <h3><a href="/cgi-bin/koha/circ/circulation-home.pl">Circulation</a></h3>
- <ul>
- <li><a href="/cgi-bin/koha/circ/branchtransfers.pl">Transfers</a></li>
- </ul>
- [% END %]
- <!-- END - CIRCULATION -->
-
- <!-- START - PATRONS -->
- [% IF ( CAN_user_borrowers ) %]
- <h3><a href="/cgi-bin/koha/members/members-home.pl">Patrons</a></h3>
- [% END %]
- <!-- END - PATRONS -->
-
- <!-- START - ADVANCED SEARCH -->
- [% IF ( CAN_user_catalogue ) %]
- <h3><a href="/cgi-bin/koha/catalogue/search.pl">Advanced search</a></h3>
- [% END %]
- <!-- END - ADVANCED SEARCH -->
-
- <!-- START - LISTS -->
- <h3><a href="/cgi-bin/koha/virtualshelves/shelves.pl">Lists</a></h3>
- <!-- END - LISTS -->
-
- <!-- START - CATALOGING -->
- [% IF ( CAN_user_catalogue || CAN_user_editcatalogue || CAN_user_editauthorities ) %]
- <h3><a href="/cgi-bin/koha/cataloguing/addbooks.pl">Cataloging</a></h3>
- <ul>
- [% IF ( CAN_user_catalogue || CAN_user_editcatalogue ) %]
- <li><a href="/cgi-bin/koha/cataloguing/addbiblio.pl">Add MARC record</a></li>
- [% END %]
- [% IF ( CAN_user_editauthorities ) %]
- <li><a href="/cgi-bin/koha/authorities/authorities-home.pl">Authorities</a></li>
- [% END %]
- </ul>
- [% END %]
- <!-- END - CATALOGING -->
- </div>
-
- <div class="yui-u">
- <!-- START - SERIALS -->
- [% IF ( CAN_user_serials ) %]
- <h3><a href="/cgi-bin/koha/serials/serials-home.pl">Serials</a></h3>
- [% END %]
- [% IF ( CAN_user_acquisition ) %]
- <h3><a href="/cgi-bin/koha/acqui/acqui-home.pl">Acquisitions</a></h3>
- [% IF ( pendingsuggestions ) %]
- <ul>
- <li><a href="/cgi-bin/koha/suggestion/suggestion.pl">Suggestions pending approval</a>: <span class="holdcount"><a href="/cgi-bin/koha/suggestion/suggestion.pl">[% pendingsuggestions %]</a></span></li>
- </ul>
- [% END %]
- [% END %]
- <!-- END - SERIALS -->
-
- <!-- START - REPORTS -->
- [% IF ( CAN_user_reports ) %]
- <h3><a href="/cgi-bin/koha/reports/reports-home.pl">Reports</a></h3>
- [% END %]
- <!-- END - REPORTS -->
-
- <!-- START - ADMINISTRATION -->
- [% IF ( CAN_user_parameters ) %]
- <h3><a href="/cgi-bin/koha/admin/admin-home.pl">Koha administration</a></h3>
- <ul>
- <li><a href="/cgi-bin/koha/admin/preferences.pl">System preferences</a></li>
- </ul>
- [% END %]
- [% IF ( CAN_user_tools ) %]
- <h3><a href="/cgi-bin/koha/tools/tools-home.pl">Tools</a></h3>
- [% IF ( CAN_user_tools_moderate_comments && pendingcomments ) || ( CAN_user_tools_moderate_tags && pendingtags ) %]
- <ul>
- [% IF ( CAN_user_tools_moderate_comments && pendingcomments ) %]
- <li><a href="/cgi-bin/koha/reviews/reviewswaiting.pl">Comments pending approval</a>: <span class="holdcount"><a href="/cgi-bin/koha/reviews/reviewswaiting.pl">[% pendingcomments %]</a></span></li>
+ <div id="container-main" class="container-fluid">
+ <div class="row">
+ <div class="col-sm-3">
+ [% IF ( koha_news_count ) %]
+ <div id="area-news">
+ <h3><span class="news_title">News</span></h3>
+ [% SET newsdisp = Koha.Preference('NewsAuthorDisplay') %]
+ [% FOREACH koha_new IN koha_news %]
+ <div class="newsitem" id="news[% koha_new.idnew %]"><h4>[% koha_new.title %]</h4>
+ <div class="newsbody">[% koha_new.content %]</div>
+ <p class="newsfooter"> Posted on [% koha_new.newdate %][% IF( ( newsdisp == 'staff' || newsdisp == 'both' ) && koha_new.borrowernumber ) %] by <span class="newsauthor_title">[% koha_new.author_title %] </span>[% koha_new.author_firstname %] [% koha_new.author_surname %]<br />[% END %]
+ [% IF ( CAN_user_tools ) %]
+ <a href="/cgi-bin/koha/tools/koha-news.pl?op=add_form&id=[% koha_new.idnew %]">Edit</a>
+ | <a class="news_delete" href="/cgi-bin/koha/tools/koha-news.pl?op=del&ids=[% koha_new.idnew %]">Delete</a>
+ | <a href="/cgi-bin/koha/tools/koha-news.pl?op=add_form">New</a>
+ [% END %]
+ </p>
+ </div>
+ [% END %]
+ </div><!-- /koha-news -->