4 [% INCLUDE 'doc-head-open.inc' %]
5 <title>Koha staff client</title>
6 [% Asset.css("css/mainpage.css") %]
7 [% INCLUDE 'doc-head-close.inc' %]
9 <body id="main_intranet-main" class="intranet-main">
10 [% INCLUDE 'header.inc' %]
11 [% INCLUDE 'home-search.inc' %]
13 <div id="breadcrumbs">Home</div>
15 <div id="container-main" class="container-fluid">
17 <div class="col-sm-3">
18 [% IF ( koha_news_count ) %]
20 <h3><span class="news_title">News</span></h3>
21 [% SET newsdisp = Koha.Preference('NewsAuthorDisplay') %]
22 [% FOREACH koha_new IN koha_news %]
23 <div class="newsitem" id="news[% koha_new.idnew %]"><h4>[% koha_new.title %]</h4>
24 <div class="newsbody">[% koha_new.content %]</div>
25 <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 %]
26 [% IF ( CAN_user_tools ) %]
27 <a href="/cgi-bin/koha/tools/koha-news.pl?op=add_form&id=[% koha_new.idnew %]">Edit</a>
28 | <a class="news_delete" href="/cgi-bin/koha/tools/koha-news.pl?op=del&ids=[% koha_new.idnew %]">Delete</a>
29 | <a href="/cgi-bin/koha/tools/koha-news.pl?op=add_form">New</a>
34 </div><!-- /koha-news -->
36 </div> <!-- /.col-sm-2 -->
37 <div class="col-sm-9">
39 <div class="col-xs-6">
40 <ul class="biglinks-list">
41 [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]
43 <a class="icon_general icon_circulation" href="/cgi-bin/koha/circ/circulation-home.pl">Circulation</a>
47 [% IF CAN_user_borrowers_edit_borrowers %]
49 <a class="icon_general icon_patrons" href="/cgi-bin/koha/members/members-home.pl">Patrons</a>
53 [% IF ( CAN_user_catalogue ) %]
55 <a class="icon_general icon_search" href="/cgi-bin/koha/catalogue/search.pl">Advanced search</a>
60 <a class="icon_general icon_lists" href="/cgi-bin/koha/virtualshelves/shelves.pl">Lists</a>
63 [% IF ( UseCourseReserves ) %]
65 <a class="icon_general icon_course_reserves" href="/cgi-bin/koha/course_reserves/course-reserves.pl">Course reserves</a>
70 <a class="icon_general icon_authorities" href="/cgi-bin/koha/authorities/authorities-home.pl">Authorities</a>
72 [% IF Koha.Preference('ILLModule') && CAN_user_ill %]
74 <a class="icon_general icon_ill" href="/cgi-bin/koha/ill/ill-requests.pl">ILL requests</a>
78 </div> <!-- /.col-xs-6 -->
79 <div class="col-xs-6">
80 <ul class="biglinks-list">
82 [% IF ( CAN_user_editcatalogue_edit_catalogue || CAN_user_editcatalogue_edit_items ) %]
84 <a class="icon_general icon_cataloging" href="/cgi-bin/koha/cataloguing/addbooks.pl">Cataloging</a>
88 [% IF ( CAN_user_serials ) %]
90 <a class="icon_general icon_serials" href="/cgi-bin/koha/serials/serials-home.pl">Serials</a>
91 <span class="biglink"></span>
95 [% IF ( CAN_user_acquisition ) %]
97 <a class="icon_general icon_acquisitions" href="/cgi-bin/koha/acqui/acqui-home.pl">Acquisitions</a>
98 <span class="biglink"></span>
102 [% IF ( CAN_user_reports ) %]
104 <a class="icon_general icon_reports" href="/cgi-bin/koha/reports/reports-home.pl">Reports</a>
109 [% IF ( CAN_user_tools ) %]
111 <a class="icon_general icon_tools" href="/cgi-bin/koha/tools/tools-home.pl">Tools</a>
115 [% IF ( CAN_user_parameters ) %]
117 <a class="icon_general icon_administration" href="/cgi-bin/koha/admin/admin-home.pl">Koha administration</a>
121 <a class="icon_general icon_koha" href="/cgi-bin/koha/about.pl">About Koha</a>
124 </div> <!-- /.col-sm-6 -->
126 </div> <!-- /.row -->
128 <div class="col-sm-12">
129 [%# Following statement must be in one line for translatability %]
130 [% 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 ) %]
131 <div id="area-pending">
132 [% IF pending_article_requests %]
133 <div class="pending-info" id="article_requests_pending">
135 <a href="/cgi-bin/koha/circ/article-requests.pl">Article requests</a>:
136 <span class="pending-number-link">[% pending_article_requests %]</span>
140 [% IF ( CAN_user_acquisition_suggestions_manage && pendingsuggestions ) %]
141 <div class="pending-info" id="suggestions_pending">
143 <a href="/cgi-bin/koha/suggestion/suggestion.pl#ASKED">Suggestions pending approval</a>:
144 <span class="pending-number-link">[% pendingsuggestions %]</span>
148 [% IF ( CAN_user_tools_moderate_comments && pendingcomments ) %]
149 <div class="pending-info" id="comments_pending">
150 <a href="/cgi-bin/koha/reviews/reviewswaiting.pl">Comments pending approval</a>:
151 <span class="pending-number-link">[% pendingcomments %]</span>
155 [% IF ( CAN_user_tools_moderate_tags && pendingtags ) %]
156 <div class="pending-info" id="tags_pending">
157 <a href="/cgi-bin/koha/tags/review.pl">Tags pending approval</a>:
158 <span class="pending-number-link">[% pendingtags %]</span>
163 [% IF ( CAN_user_borrowers_edit_borrowers && pending_borrower_modifications ) %]
164 <div class="pending-info" id="patron_updates_pending">
165 <a href="/cgi-bin/koha/members/members-update.pl">Patrons requesting modifications</a>:
166 <span class="pending-number-link">[% pending_borrower_modifications %]</span>
170 [% IF CAN_user_borrowers_edit_borrowers && pending_discharge_requests %]
171 <div class="pending-info" id="patron_discharges_pending">
172 <a href="/cgi-bin/koha/members/discharges.pl">Discharge requests pending</a>:
173 <span class="pending-number-link">[% pending_discharge_requests %]</span>
177 [% IF Koha.Preference('AllowCheckoutNotes') && CAN_user_circulate_manage_checkout_notes && pending_checkout_notes.count %]
178 <div class="pending-info" id="checkout_notes_pending">
179 <a href="/cgi-bin/koha/circ/checkout-notes.pl">Checkout notes pending</a>:
180 <span class="pending-number-link">[% pending_checkout_notes.count %]</span>
188 </div> <!-- /.col-sm-12 -->
189 </div> <!-- /.row -->
191 [% IF ( IntranetmainUserblock ) %]
193 <div class="col-sm-12">
194 <div id="area-userblock">
195 <div class="user-info">
196 [% IntranetmainUserblock %]
202 </div> <!-- /.col-sm-9 -->
204 </div> <!-- /.row -->
205 </div> <!-- /.container-fluid -->
207 [% MACRO jsinclude BLOCK %]
208 <script type="text/javascript">
210 var MSG_CONFIRM_DELETE = _("Are you sure you want to delete this news item? This cannot be undone.");
211 $(document).ready(function(){
212 $(".news_delete").on("click", function(){
213 return confirmDelete(MSG_CONFIRM_DELETE);
219 <!-- the main div is closed in intranet-bottom.inc -->
220 [% INCLUDE 'intranet-bottom.inc' %]