3 [% INCLUDE 'doc-head-open.inc' %]
4 <title>Koha staff client</title>
5 <link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/mainpage.css" />
6 [% INCLUDE 'doc-head-close.inc' %]
8 <body id="main_intranet-main" class="main">
9 [% INCLUDE 'header.inc' %]
10 [% INCLUDE 'home-search.inc' %]
12 <div id="breadcrumbs" >Home</div>
15 <div id="doc3" class="yui-t3">
16 <div id="bd" role="main">
18 <div class="yui-b"><div class="yui-g">
20 <div id="adminwarning" class="dialog alert">
21 <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>
22 <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>
23 <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>
26 <div class="yui-u first">
28 <div id="area-list-left">
29 <ul class="biglinks-list">
30 [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]
32 <a class="icon_general icon_circulation" href="/cgi-bin/koha/circ/circulation-home.pl">Circulation</a>
36 [% IF ( CAN_user_borrowers ) %]
38 <a class="icon_general icon_patrons" href="/cgi-bin/koha/members/members-home.pl">Patrons</a>
42 [% IF ( CAN_user_catalogue ) %]
44 <a class="icon_general icon_search" href="/cgi-bin/koha/catalogue/search.pl">Advanced search</a>
49 <a class="icon_general icon_lists" href="/cgi-bin/koha/virtualshelves/shelves.pl">Lists</a>
52 [% IF ( UseCourseReserves ) %]
54 <a class="icon_general icon_course_reserves" href="/cgi-bin/koha/course_reserves/course-reserves.pl">Course reserves</a>
58 [% IF ( CAN_user_editcatalogue_edit_catalogue || CAN_user_editcatalogue_edit_items ) %]
60 <a class="icon_general icon_cataloging" href="/cgi-bin/koha/cataloguing/addbooks.pl">Cataloging</a>
64 <a class="icon_general icon_authorities" href="/cgi-bin/koha/authorities/authorities-home.pl">Authorities</a>
67 </div><!-- /area-list-left -->
68 </div><!-- /yui-u first -->
70 <div id="area-list-right">
71 <ul class="biglinks-list">
72 [% IF ( CAN_user_serials ) %]
74 <a class="icon_general icon_serials" href="/cgi-bin/koha/serials/serials-home.pl">Serials</a>
75 <span class="biglink"></span>
79 [% IF ( CAN_user_acquisition ) %]
81 <a class="icon_general icon_acquisitions" href="/cgi-bin/koha/acqui/acqui-home.pl">Acquisitions</a>
82 <span class="biglink"></span>
86 [% IF ( CAN_user_reports ) %]
88 <a class="icon_general icon_reports" href="/cgi-bin/koha/reports/reports-home.pl">Reports</a>
93 [% IF ( CAN_user_tools ) %]
95 <a class="icon_general icon_tools" href="/cgi-bin/koha/tools/tools-home.pl">Tools</a>
99 [% IF ( CAN_user_parameters ) %]
101 <a class="icon_general icon_administration" href="/cgi-bin/koha/admin/admin-home.pl">Koha administration</a>
105 <a class="icon_general icon_koha" href="/cgi-bin/koha/about.pl">About Koha</a>
108 </div><!-- /area-list-right -->
109 </div><!-- /yui-u -->
110 </div><!-- /yui-g -->
112 [% IF ( ( CAN_user_tools_moderate_comments && pendingcomments )
113 || ( CAN_user_tools_moderate_tags && pendingtags )
114 || ( CAN_user_borrowers && pending_borrower_modifications )
115 || ( CAN_user_acquisition && pendingsuggestions )
116 || ( CAN_user_borrowers && pending_discharge_requests )
117 || pending_article_requests
119 <div id="area-pending">
120 [% IF pending_article_requests %]
121 <div class="pending-info" id="article_requests_pending">
123 <a href="/cgi-bin/koha/circ/article-requests.pl">Article requests</a>:
124 <span class="pending-number-link">[% pending_article_requests %]</span>
128 [% IF ( CAN_user_acquisition && pendingsuggestions ) %]
129 <div class="pending-info" id="suggestions_pending">
131 <a href="/cgi-bin/koha/suggestion/suggestion.pl#ASKED">Suggestions pending approval</a>:
132 <span class="pending-number-link">[% pendingsuggestions %]</span>
136 [% IF ( CAN_user_tools_moderate_comments && pendingcomments ) %]
137 <div class="pending-info" id="comments_pending">
138 <a href="/cgi-bin/koha/reviews/reviewswaiting.pl">Comments pending approval</a>:
139 <span class="pending-number-link">[% pendingcomments %]</span>
143 [% IF ( CAN_user_tools_moderate_tags && pendingtags ) %]
144 <div class="pending-info" id="tags_pending">
145 <a href="/cgi-bin/koha/tags/review.pl">Tags pending approval</a>:
146 <span class="pending-number-link">[% pendingtags %]</span>
151 [% IF ( CAN_user_borrowers && pending_borrower_modifications ) %]
152 <div class="pending-info" id="patron_updates_pending">
153 <a href="/cgi-bin/koha/members/members-update.pl">Patrons requesting modifications</a>:
154 <span class="pending-number-link">[% pending_borrower_modifications %]</span>
158 [% IF CAN_user_borrowers && pending_discharge_requests %]
159 <div class="pending-info" id="patron_discharges_pending">
160 <a href="/cgi-bin/koha/members/discharges.pl">Discharge requests pending</a>:
161 <span class="pending-number-link">[% pending_discharge_requests %]</span>
170 [% IF ( IntranetmainUserblock ) %]
171 <div class="yui-g" id="area-userblock">
172 <div class="user-info">
173 [% IntranetmainUserblock %]
179 <div class="yui-b"><!-- YOUR NAVIGATION GOES HERE -->
180 [% IF ( koha_news_count ) %]
182 <h3><span class="news_title">News</span></h3>
183 [% SET newsdisp = Koha.Preference('NewsAuthorDisplay') %]
184 [% FOREACH koha_new IN koha_news %]
185 <div class="newsitem" id="news[% koha_new.idnew %]"><h4>[% koha_new.title %]</h4>
186 <div class="newsbody">[% koha_new.content %]</div>
187 <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 %]
188 [% IF ( CAN_user_tools ) %]
189 <a href="/cgi-bin/koha/tools/koha-news.pl?op=add_form&id=[% koha_new.idnew %]">Edit</a>
190 | <a class="news_delete" href="/cgi-bin/koha/tools/koha-news.pl?op=del&ids=[% koha_new.idnew %]">Delete</a>
191 | <a href="/cgi-bin/koha/tools/koha-news.pl?op=add_form">New</a>
196 </div><!-- /koha-news -->
201 [% MACRO jsinclude BLOCK %]
202 <script type="text/javascript">
204 var MSG_CONFIRM_DELETE = _("Are you sure you want to delete this news item? This cannot be undone.");
205 $(document).ready(function(){
206 $(".news_delete").on("click", function(){
207 return confirmDelete(MSG_CONFIRM_DELETE);
213 <!-- the main div is closed in intranet-bottom.inc -->
214 [% INCLUDE 'intranet-bottom.inc' %]