[% USE raw %] [% USE Asset %] [% USE Koha %] [% SET footerjs = 1 %] [% INCLUDE 'doc-head-open.inc' %] Koha staff client [% Asset.css("css/mainpage.css") | $raw %] [% 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 | html %]

[% koha_new.content | $raw %]

Posted on [% koha_new.newdate | html %][% IF( ( newsdisp == 'staff' || newsdisp == 'both' ) && koha_new.borrowernumber ) %] by [% koha_new.author_title | html %] [% koha_new.author_firstname | html %] [% koha_new.author_surname | html %]
[% 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) || ( Koha.Preference('AllowCheckoutNotes') && CAN_user_circulate_manage_checkout_notes && pending_checkout_notes.count ) %]
[% IF pending_article_requests %]
Article requests: [% pending_article_requests | html %]
[% END %] [% IF ( CAN_user_suggestions_suggestions_manage && pendingsuggestions ) %]
Suggestions pending approval: [% pendingsuggestions | html %]
[% END %] [% IF ( CAN_user_tools_moderate_comments && pendingcomments ) %]
Comments pending approval: [% pendingcomments | html %]
[% END %] [% IF ( CAN_user_tools_moderate_tags && pendingtags ) %]
Tags pending approval: [% pendingtags | html %]
[% END %] [% IF ( CAN_user_borrowers_edit_borrowers && pending_borrower_modifications ) %]
Patrons requesting modifications: [% pending_borrower_modifications | html %]
[% END %] [% IF CAN_user_borrowers_edit_borrowers && pending_discharge_requests %]
Discharge requests pending: [% pending_discharge_requests | html %]
[% END %] [% IF Koha.Preference('AllowCheckoutNotes') && CAN_user_circulate_manage_checkout_notes && pending_checkout_notes.count %]
Checkout notes pending: [% pending_checkout_notes.count | html %]
[% END %]
[% END %]
[% IF ( IntranetmainUserblock ) %]
[% END %]
[% MACRO jsinclude BLOCK %] [% END %] [% INCLUDE 'intranet-bottom.inc' %]