Bug 15413: Adding colons where appropriate
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / intranet-main.tt
1 [% USE Koha %]
2 [% INCLUDE 'doc-head-open.inc' %]
3 <title>Koha staff client</title>
4 <link rel="stylesheet" type="text/css" href="[% themelang %]/css/mainpage.css" />
5 [% INCLUDE 'doc-head-close.inc' %]
6 <style type="text/css"> </style>
7
8 </head>
9 <body id="main_intranet-main" class="main">
10 [% INCLUDE 'header.inc' %]
11 [% INCLUDE 'home-search.inc' %]
12
13 <div id="breadcrumbs" >Home</div>
14
15
16 <div id="doc3" class="yui-t3">
17    <div id="bd" role="main">
18     <div id="yui-main">
19     <div class="yui-b"><div class="yui-g">
20     [% IF adminWarning %]
21         <div id="adminwarning" class="dialog alert">
22             <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>
23             <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>
24 <p><a class="btn btn-small" href="/cgi-bin/koha/members/members-home.pl"><i class="fa fa-plus"> </i> Create patron</a></p>
25         </div>
26     [% END %]
27     <div class="yui-u first">
28
29             <div id="area-list-left">
30                 <ul class="biglinks-list">
31                     [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]
32                     <li>
33                         <a class="icon_general icon_circulation" href="/cgi-bin/koha/circ/circulation-home.pl">Circulation</a>
34                     </li>
35                     [% END %]
36
37                     [% IF ( CAN_user_borrowers ) %]
38                     <li>
39                         <a class="icon_general icon_patrons" href="/cgi-bin/koha/members/members-home.pl">Patrons</a>
40                     </li>
41                     [% END %]
42
43                     [% IF ( CAN_user_catalogue ) %]
44                     <li>
45                         <a class="icon_general icon_search" href="/cgi-bin/koha/catalogue/search.pl">Advanced search</a>
46                     </li>
47                     [% END %]
48
49                     <li>
50                         <a class="icon_general icon_lists" href="/cgi-bin/koha/virtualshelves/shelves.pl">Lists</a>
51                     </li>
52
53                     [% IF ( UseCourseReserves ) %]
54                         <li>
55                             <a class="icon_general icon_course_reserves" href="/cgi-bin/koha/course_reserves/course-reserves.pl">Course reserves</a>
56                         </li>
57                     [% END %]
58
59                     [% IF ( CAN_user_editcatalogue_edit_catalogue || CAN_user_editcatalogue_edit_items ) %]
60                     <li>
61                         <a class="icon_general icon_cataloging" href="/cgi-bin/koha/cataloguing/addbooks.pl">Cataloging</a>
62                     </li>
63                     [% END %]
64                     <li>
65                         <a class="icon_general icon_authorities" href="/cgi-bin/koha/authorities/authorities-home.pl">Authorities</a>
66                     </li>
67                 </ul>
68             </div><!-- /area-list-left -->
69         </div><!-- /yui-u first -->
70     <div class="yui-u">
71             <div id="area-list-right">
72                 <ul class="biglinks-list">
73                     [% IF ( CAN_user_serials ) %]
74                     <li>
75                         <a class="icon_general icon_serials" href="/cgi-bin/koha/serials/serials-home.pl">Serials</a>
76                         <span class="biglink"></span>
77                     </li>
78                     [% END %]
79
80                     [% IF ( CAN_user_acquisition ) %]
81                     <li>
82                         <a class="icon_general icon_acquisitions" href="/cgi-bin/koha/acqui/acqui-home.pl">Acquisitions</a>
83                         <span class="biglink"></span>
84                     </li>
85                     [% END %]
86
87                     [% IF ( CAN_user_reports ) %]
88                     <li>
89                         <a class="icon_general icon_reports" href="/cgi-bin/koha/reports/reports-home.pl">Reports</a>
90                     </li>
91                     [% END %]
92
93
94                     [% IF ( CAN_user_tools ) %]
95                     <li>
96                         <a class="icon_general icon_tools" href="/cgi-bin/koha/tools/tools-home.pl">Tools</a>
97                     </li>
98                     [% END %]
99
100                     [% IF ( CAN_user_parameters ) %]
101                     <li>
102                         <a class="icon_general icon_administration" href="/cgi-bin/koha/admin/admin-home.pl">Koha administration</a>
103                     </li>
104                     [% END %]
105                     <li>
106                         <a class="icon_general icon_koha" href="/cgi-bin/koha/about.pl">About Koha</a>
107                     </li>
108                 </ul>
109             </div><!-- /area-list-right -->
110         </div><!-- /yui-u -->
111 </div><!-- /yui-g -->
112 <div class="yui-g">
113             [% IF ( ( CAN_user_tools_moderate_comments  && pendingcomments ) 
114                     || ( CAN_user_tools_moderate_tags && pendingtags )
115                     || ( CAN_user_borrowers && pending_borrower_modifications )
116                     || ( CAN_user_acquisition && pendingsuggestions )
117                     || ( CAN_user_borrowers && pending_discharge_requests )
118             ) %]
119                 <div id="area-pending">
120                     [% IF ( CAN_user_acquisition && pendingsuggestions ) %]
121                     <div class="pending-info" id="suggestions_pending">
122
123                         <a href="/cgi-bin/koha/suggestion/suggestion.pl#ASKED">Suggestions pending approval</a>:
124                         <span class="pending-number-link">[% pendingsuggestions %]</span>
125                     </div>
126                     [% END %]
127
128                     [% IF ( CAN_user_tools_moderate_comments  && pendingcomments ) %]
129                     <div class="pending-info" id="comments_pending">
130                         <a href="/cgi-bin/koha/reviews/reviewswaiting.pl">Comments pending approval</a>:
131                         <span class="pending-number-link">[% pendingcomments %]</span>
132                     </div>
133                     [% END %]
134
135                     [% IF ( CAN_user_tools_moderate_tags && pendingtags ) %]
136                     <div class="pending-info" id="tags_pending">
137                         <a href="/cgi-bin/koha/tags/review.pl">Tags pending approval</a>:
138                         <span class="pending-number-link">[% pendingtags %]</span>
139                     </div>
140                     [% END %]
141
142
143                     [% IF ( CAN_user_borrowers && pending_borrower_modifications ) %]
144                     <div class="pending-info" id="patron_updates_pending">
145                         <a href="/cgi-bin/koha/members/members-update.pl">Patrons requesting modifications</a>:
146                         <span class="pending-number-link">[% pending_borrower_modifications %]</span>
147                     </div>
148                     [% END %]
149
150                     [% IF CAN_user_borrowers && pending_discharge_requests %]
151                     <div class="pending-info" id="patron_discharges_pending">
152                         <a href="/cgi-bin/koha/members/discharges.pl">Discharge requests pending</a>:
153                         <span class="pending-number-link">[% pending_discharge_requests %]</span>
154                     </div>
155                     [% END %]
156
157                 </div>
158
159             [% END %]
160
161 </div>
162             [% IF ( IntranetmainUserblock ) %]
163                 <div class="yui-g" id="area-userblock">
164                     <div class="user-info">
165                         [% IntranetmainUserblock %]
166                     </div>
167                 </div>
168             [% END %]
169 </div>
170     </div>
171     <div class="yui-b"><!-- YOUR NAVIGATION GOES HERE -->
172     [% IF ( koha_news_count ) %]
173         <div id="area-news">
174             <h3><span="news_title">News</span></h3>
175             [% SET newsdisp = Koha.Preference('NewsAuthorDisplay') %]
176             [% FOREACH koha_new IN koha_news %]
177                 <div class="newsitem" id="news[% koha_new.idnew %]"><h4>[% koha_new.title %]</h4>
178                     <p>[% koha_new.new %]</p>
179                     <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 %]
180                         [% IF ( CAN_user_tools ) %]
181                             <a href="/cgi-bin/koha/tools/koha-news.pl?op=add_form&amp;id=[% koha_new.idnew %]">Edit</a>
182                              | <a href="/cgi-bin/koha/tools/koha-news.pl?op=del&amp;ids=[% koha_new.idnew %]">Delete</a>
183                              | <a href="/cgi-bin/koha/tools/koha-news.pl?op=add_form">New</a>
184                         [% END %]
185                     </p>
186                 </div>
187             [% END %]
188         </div><!-- /koha-news -->
189     [% END %]
190     </div>
191     </div>
192 </div>
193
194 <!-- the main div is closed in intranet-bottom.inc -->
195 [% INCLUDE 'intranet-bottom.inc' %]