[% USE Asset %] [% USE Koha %] [% SET footerjs = 1 %] [% INCLUDE 'doc-head-open.inc' %] Koha staff client [% Asset.css("css/mainpage.css") %] [% INCLUDE 'doc-head-close.inc' %] [% INCLUDE 'header.inc' %] [% INCLUDE 'home-search.inc' %]
[% IF ( koha_news_count ) %]

News

[% SET newsdisp = Koha.Preference('NewsAuthorDisplay') %] [% FOREACH koha_new IN koha_news %]

[% koha_new.title %]

[% koha_new.content %]

Posted on [% koha_new.newdate %][% IF( ( newsdisp == 'staff' || newsdisp == 'both' ) && koha_new.borrowernumber ) %] by [% koha_new.author_title %] [% koha_new.author_firstname %] [% koha_new.author_surname %]
[% END %] [% IF ( CAN_user_tools ) %] Edit | Delete | New [% END %]

[% END %]
[% END %]
[%# Following statement must be in one line for translatability %] [% IF ( ( CAN_user_tools_moderate_comments && pendingcomments ) || ( CAN_user_tools_moderate_tags && pendingtags ) || ( CAN_user_borrowers_edit_borrowers && pending_borrower_modifications ) || ( CAN_user_acquisition && pendingsuggestions ) || ( CAN_user_borrowers_edit_borrowers && pending_discharge_requests ) || pending_article_requests) %]
[% IF pending_article_requests %]
Article requests: [% pending_article_requests %]
[% END %] [% IF ( CAN_user_acquisition && pendingsuggestions ) %]
Suggestions pending approval: [% pendingsuggestions %]
[% END %] [% IF ( CAN_user_tools_moderate_comments && pendingcomments ) %]
Comments pending approval: [% pendingcomments %]
[% END %] [% IF ( CAN_user_tools_moderate_tags && pendingtags ) %]
Tags pending approval: [% pendingtags %]
[% END %] [% IF ( CAN_user_borrowers_edit_borrowers && pending_borrower_modifications ) %]
Patrons requesting modifications: [% pending_borrower_modifications %]
[% END %] [% IF CAN_user_borrowers_edit_borrowers && pending_discharge_requests %]
Discharge requests pending: [% pending_discharge_requests %]
[% END %]
[% END %]
[% IF ( IntranetmainUserblock ) %]
[% END %]
[% MACRO jsinclude BLOCK %] [% END %] [% INCLUDE 'intranet-bottom.inc' %]