[% USE raw %] [% USE Asset %] [% USE Koha %] [% USE Branches %] [% USE KohaDates %] [% SET footerjs = 1 %] [% INCLUDE 'doc-head-open.inc' %] Koha staff interface [% Asset.css("css/mainpage.css") | $raw %] [% INCLUDE 'doc-head-close.inc' %] [% WRAPPER 'header.inc' %] [% INCLUDE 'home-search.inc' %] [% END %] [% WRAPPER 'sub-header.inc' %] [% END %]

Koha home

[% IF ( koha_news.count ) %]

News

[% SET show_author = Koha.Preference('NewsAuthorDisplay') == 'staff' || Koha.Preference('NewsAuthorDisplay') == 'both' %] [% FOREACH koha_new IN koha_news %]

[% koha_new.title | html %]

[% koha_new.content | $raw %]

Posted on [% koha_new.published_on | $KohaDates %][% IF( show_author && koha_new.author ) %] by [% INCLUDE 'patron-title.inc' patron=koha_new.author %]
[% END %] [% IF ( CAN_user_tools_edit_additional_contents ) %] Edit | Delete | New [% END %]

[% END %]
[% END %] [% IF ( daily_quote ) %]

Quote of the day

[% daily_quote.text | html %] ~ [% daily_quote.source | html %]
[% 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_suggestions_suggestions_manage && ( pendingsuggestions || all_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 ) || ( Koha.Preference('OPACReportProblem') && CAN_user_problem_reports && pending_problem_reports.count ) || already_ran_jobs || new_curbside_pickups.count %]
[% IF pending_article_requests %]
Article requests: [% pending_article_requests | html %]
[% END %] [% IF CAN_user_suggestions_suggestions_manage && ( pendingsuggestions || all_pendingsuggestions ) %] [% 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 %] [% IF ( Koha.Preference('OPACReportProblem') && CAN_user_problem_reports && pending_problem_reports.count ) %]
OPAC problem reports pending: [% pending_problem_reports.count | html %]
[% END %] [% IF already_ran_jobs %] [% END %] [% IF new_curbside_pickups.count %]
New curbside pickups: [% new_curbside_pickups.count | html %]
[% END %]
[% END %]
[% IF ( IntranetmainUserblock ) %]
[% END %]
[% MACRO jsinclude BLOCK %] [% END %] [% INCLUDE 'intranet-bottom.inc' %]