3 [% INCLUDE 'doc-head-open.inc' %]
4 <title>Koha staff client</title>
5 <link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/mainpage_[% KOHA_VERSION %].css" />
6 [% INCLUDE 'doc-head-close.inc' %]
8 <body id="main_intranet-main" class="intranet-main">
9 [% INCLUDE 'header.inc' %]
10 [% INCLUDE 'home-search.inc' %]
12 <div id="breadcrumbs">Home</div>
14 <div id="container-main" class="container-fluid">
16 <div class="col-sm-3">
17 [% IF ( koha_news_count ) %]
19 <h3><span class="news_title">News</span></h3>
20 [% SET newsdisp = Koha.Preference('NewsAuthorDisplay') %]
21 [% FOREACH koha_new IN koha_news %]
22 <div class="newsitem" id="news[% koha_new.idnew %]"><h4>[% koha_new.title %]</h4>
23 <div class="newsbody">[% koha_new.content %]</div>
24 <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 %]
25 [% IF ( CAN_user_tools ) %]
26 <a href="/cgi-bin/koha/tools/koha-news.pl?op=add_form&id=[% koha_new.idnew %]">Edit</a>
27 | <a class="news_delete" href="/cgi-bin/koha/tools/koha-news.pl?op=del&ids=[% koha_new.idnew %]">Delete</a>
28 | <a href="/cgi-bin/koha/tools/koha-news.pl?op=add_form">New</a>
33 </div><!-- /koha-news -->
35 </div> <!-- /.col-sm-2 -->
36 <div class="col-sm-9">
38 <div id="adminwarning" class="dialog alert">
39 <p><strong>Warning:</strong> You are logged in as the database administrative user. This is not recommended because some parts of Koha will not function as expected when using this account.</p>
40 <p>Please log in instead with a regular staff account. To create a staff account, create a library, a patron category 'Staff' and add a new patron. Then give this patron permissions from 'More' in the toolbar.</p>
41 <p><a class="btn btn-default btn-sm" href="/cgi-bin/koha/members/members-home.pl"><i class="fa fa-plus"> </i> Create patron</a></p>
45 <div class="col-xs-6">
46 <ul class="biglinks-list">
47 [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]
49 <a class="icon_general icon_circulation" href="/cgi-bin/koha/circ/circulation-home.pl">Circulation</a>
53 [% IF CAN_user_borrowers_edit_borrowers %]
55 <a class="icon_general icon_patrons" href="/cgi-bin/koha/members/members-home.pl">Patrons</a>
59 [% IF ( CAN_user_catalogue ) %]
61 <a class="icon_general icon_search" href="/cgi-bin/koha/catalogue/search.pl">Advanced search</a>
66 <a class="icon_general icon_lists" href="/cgi-bin/koha/virtualshelves/shelves.pl">Lists</a>
69 [% IF ( UseCourseReserves ) %]
71 <a class="icon_general icon_course_reserves" href="/cgi-bin/koha/course_reserves/course-reserves.pl">Course reserves</a>
75 [% IF ( CAN_user_editcatalogue_edit_catalogue || CAN_user_editcatalogue_edit_items ) %]
77 <a class="icon_general icon_cataloging" href="/cgi-bin/koha/cataloguing/addbooks.pl">Cataloging</a>
81 <a class="icon_general icon_authorities" href="/cgi-bin/koha/authorities/authorities-home.pl">Authorities</a>
83 [% IF Koha.Preference('ILLModule') %]
85 <a class="icon_general icon_ill" href="/cgi-bin/koha/ill/ill-requests.pl">ILL requests</a>
89 </div> <!-- /.col-xs-6 -->
90 <div class="col-xs-6">
91 <ul class="biglinks-list">
92 [% IF ( CAN_user_serials ) %]
94 <a class="icon_general icon_serials" href="/cgi-bin/koha/serials/serials-home.pl">Serials</a>
95 <span class="biglink"></span>
99 [% IF ( CAN_user_acquisition ) %]
101 <a class="icon_general icon_acquisitions" href="/cgi-bin/koha/acqui/acqui-home.pl">Acquisitions</a>
102 <span class="biglink"></span>
106 [% IF ( CAN_user_reports ) %]
108 <a class="icon_general icon_reports" href="/cgi-bin/koha/reports/reports-home.pl">Reports</a>
113 [% IF ( CAN_user_tools ) %]
115 <a class="icon_general icon_tools" href="/cgi-bin/koha/tools/tools-home.pl">Tools</a>
119 [% IF ( CAN_user_parameters ) %]
121 <a class="icon_general icon_administration" href="/cgi-bin/koha/admin/admin-home.pl">Koha administration</a>
125 <a class="icon_general icon_koha" href="/cgi-bin/koha/about.pl">About Koha</a>
128 </div> <!-- /.col-sm-6 -->
130 </div> <!-- /.row -->
132 <div class="col-sm-12">
133 [%# Following statement must be in one line for translatability %]
134 [% 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) %]
135 <div id="area-pending">
136 [% IF pending_article_requests %]
137 <div class="pending-info" id="article_requests_pending">
139 <a href="/cgi-bin/koha/circ/article-requests.pl">Article requests</a>:
140 <span class="pending-number-link">[% pending_article_requests %]</span>
144 [% IF ( CAN_user_acquisition && pendingsuggestions ) %]
145 <div class="pending-info" id="suggestions_pending">
147 <a href="/cgi-bin/koha/suggestion/suggestion.pl#ASKED">Suggestions pending approval</a>:
148 <span class="pending-number-link">[% pendingsuggestions %]</span>
152 [% IF ( CAN_user_tools_moderate_comments && pendingcomments ) %]
153 <div class="pending-info" id="comments_pending">
154 <a href="/cgi-bin/koha/reviews/reviewswaiting.pl">Comments pending approval</a>:
155 <span class="pending-number-link">[% pendingcomments %]</span>
159 [% IF ( CAN_user_tools_moderate_tags && pendingtags ) %]
160 <div class="pending-info" id="tags_pending">
161 <a href="/cgi-bin/koha/tags/review.pl">Tags pending approval</a>:
162 <span class="pending-number-link">[% pendingtags %]</span>
167 [% IF ( CAN_user_borrowers_edit_borrowers && pending_borrower_modifications ) %]
168 <div class="pending-info" id="patron_updates_pending">
169 <a href="/cgi-bin/koha/members/members-update.pl">Patrons requesting modifications</a>:
170 <span class="pending-number-link">[% pending_borrower_modifications %]</span>
174 [% IF CAN_user_borrowers_edit_borrowers && pending_discharge_requests %]
175 <div class="pending-info" id="patron_discharges_pending">
176 <a href="/cgi-bin/koha/members/discharges.pl">Discharge requests pending</a>:
177 <span class="pending-number-link">[% pending_discharge_requests %]</span>
185 </div> <!-- /.col-sm-12 -->
186 </div> <!-- /.row -->
188 [% IF ( IntranetmainUserblock ) %]
190 <div class="col-sm-12">
191 <div id="area-userblock">
192 <div class="user-info">
193 [% IntranetmainUserblock %]
199 </div> <!-- /.col-sm-9 -->
201 </div> <!-- /.row -->
202 </div> <!-- /.container-fluid -->
204 [% MACRO jsinclude BLOCK %]
205 <script type="text/javascript">
207 var MSG_CONFIRM_DELETE = _("Are you sure you want to delete this news item? This cannot be undone.");
208 $(document).ready(function(){
209 $(".news_delete").on("click", function(){
210 return confirmDelete(MSG_CONFIRM_DELETE);
216 <!-- the main div is closed in intranet-bottom.inc -->
217 [% INCLUDE 'intranet-bottom.inc' %]