]> git.koha-community.org Git - koha.git/blob - koha-tmpl/intranet-tmpl/prog/en/modules/intranet-main.tt
Merge branch 'bug_8945' into 3.12-master
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / intranet-main.tt
1 [% INCLUDE 'doc-head-open.inc' %]
2 <title>Koha staff client</title>
3 <link rel="stylesheet" type="text/css" href="[% themelang %]/css/mainpage.css" />
4 [% INCLUDE 'doc-head-close.inc' %]
5 <style type="text/css"> </style>
6
7 </head>
8 <body id="main_intranet-main" class="main">
9 [% INCLUDE 'header.inc' %]
10 [% INCLUDE 'home-search.inc' %]
11
12 <div id="breadcrumbs" >Home</div>
13
14
15 <div id="doc3" class="yui-t3">
16    <div id="bd" role="main">
17     <div id="yui-main">
18     <div class="yui-b"><div class="yui-g">
19     <div class="yui-u first">
20             <div id="area-list-left">
21                 <ul class="biglinks-list">
22                     [% IF ( CAN_user_circulate ) %]
23                     <li>
24                         <a class="icon_general icon_circulation" href="/cgi-bin/koha/circ/circulation-home.pl">Circulation</a>
25                     </li>
26                     [% END %]
27
28                     [% IF ( CAN_user_borrowers ) %]
29                     <li>
30                         <a class="icon_general icon_patrons" href="/cgi-bin/koha/members/members-home.pl">Patrons</a>
31                     </li>
32                     [% END %]
33
34                     [% IF ( CAN_user_catalogue ) %]
35                     <li>
36                         <a class="icon_general icon_search" href="/cgi-bin/koha/catalogue/search.pl">Advanced search</a>
37                     </li>
38                     [% END %]
39
40                     <li>
41                         <a class="icon_general icon_lists" href="/cgi-bin/koha/virtualshelves/shelves.pl">Lists</a>
42                     </li>
43
44                     [% IF ( CAN_user_editcatalogue_edit_catalogue || CAN_user_editcatalogue_edit_items ) %]
45                     <li>
46                         <a class="icon_general icon_cataloging" href="/cgi-bin/koha/cataloguing/addbooks.pl">Cataloging</a>
47                     </li>
48                     [% END %]
49
50                     [% IF ( CAN_user_editauthorities ) %]
51                     <li>
52                         <a class="icon_general icon_authorities" href="/cgi-bin/koha/authorities/authorities-home.pl">Authorities</a>
53                     </li>
54                     [% END %]
55                 </ul>
56             </div><!-- /area-list-left -->
57         </div><!-- /yui-u first -->
58     <div class="yui-u">
59             <div id="area-list-right">
60                 <ul class="biglinks-list">
61                     [% IF ( CAN_user_serials ) %]
62                     <li>
63                         <a class="icon_general icon_serials" href="/cgi-bin/koha/serials/serials-home.pl">Serials</a>
64                         <span class="biglink"></span>
65                     </li>
66                     [% END %]
67
68                     [% IF ( CAN_user_acquisition ) %]
69                     <li>
70                         <a class="icon_general icon_acquisitions" href="/cgi-bin/koha/acqui/acqui-home.pl">Acquisitions</a>
71                         <span class="biglink"></span>
72                     </li>
73                     [% END %]
74
75                     [% IF ( CAN_user_reports ) %]
76                     <li>
77                         <a class="icon_general icon_reports" href="/cgi-bin/koha/reports/reports-home.pl">Reports</a>
78                     </li>
79                     [% END %]
80
81                     [% IF ( CAN_user_parameters ) %]
82                     <li>
83                         <a class="icon_general icon_administration" href="/cgi-bin/koha/admin/admin-home.pl">Koha administration</a>
84                     </li>
85                     [% END %]
86
87                     [% IF ( CAN_user_tools ) %]
88                     <li>
89                         <a class="icon_general icon_tools" href="/cgi-bin/koha/tools/tools-home.pl">Tools</a>
90                     </li>
91                     [% END %]
92
93                     <li>
94                         <a class="icon_general icon_koha" href="/cgi-bin/koha/about.pl">About Koha</a>
95                     </li>
96                 </ul>
97             </div><!-- /area-list-right -->
98         </div><!-- /yui-u -->
99 </div><!-- /yui-g -->
100 <div class="yui-g">
101             [% IF ( ( CAN_user_tools_moderate_comments  && pendingcomments ) 
102                     || ( CAN_user_tools_moderate_tags && pendingtags )
103                     || ( CAN_user_acquisition && pendingsuggestions ) ) %]
104                 <div id="area-pending">
105                     [% IF ( CAN_user_acquisition && pendingsuggestions ) %]
106                     <div class="pending-info" id="suggestions_pending">
107
108                         <a href="/cgi-bin/koha/suggestion/suggestion.pl">Suggestions pending approval</a>:
109                         <span class="pending-number-link">[% pendingsuggestions %]</span>
110                     </div>
111                     [% END %]
112
113                     [% IF ( CAN_user_tools_moderate_comments  && pendingcomments ) %]
114                     <div class="pending-info" id="comments_pending">
115                         <a href="/cgi-bin/koha/reviews/reviewswaiting.pl">Comments pending approval</a>:
116                         <span class="pending-number-link">[% pendingcomments %]</span>
117                     </div>
118                     [% END %]
119
120                     [% IF ( CAN_user_tools_moderate_tags && pendingtags ) %]
121                     <div class="pending-info" id="tags_pending">
122                         <a href="/cgi-bin/koha/tags/review.pl">Tags pending approval</a>:
123                         <span class="pending-number-link">[% pendingtags %]</span>
124                     </div>
125                     [% END %]
126                 </div>
127             [% END %]
128
129
130 </div>
131             [% IF ( IntranetmainUserblock ) %]
132                 <div class="yui-g" id="area-userblock">
133                     <div class="user-info">
134                         [% IntranetmainUserblock %]
135                     </div>
136                 </div>
137             [% END %]
138 </div>
139     </div>
140     <div class="yui-b"><!-- YOUR NAVIGATION GOES HERE -->
141     [% IF ( koha_news_count ) %]
142         <div id="area-news">
143             <h3><span="news_title">News</span></h3>
144             [% FOREACH koha_new IN koha_news %]
145                 <div class="newsitem" id="news[% koha_new.idnew %]"><h4>[% koha_new.title %]</h4>
146                     <p>[% koha_new.new %]</p>
147                     <p class="newsfooter"> Posted on [% koha_new.newdate %]
148                         [% IF ( CAN_user_tools ) %]
149                             <a href="/cgi-bin/koha/tools/koha-news.pl?op=add_form&amp;id=[% koha_new.idnew %]">Edit</a>
150                              | <a href="/cgi-bin/koha/tools/koha-news.pl?op=del&amp;ids=[% koha_new.idnew %]">Delete</a>
151                              | <a href="/cgi-bin/koha/tools/koha-news.pl?op=add_form">New</a>
152                         [% END %]
153                     </p>
154                 </div>
155             [% END %]
156         </div><!-- /koha-news -->
157     [% END %]
158     </div>
159     </div>
160 </div>
161
162 <!-- the main div is closed in intranet-bottom.inc -->
163 [% INCLUDE 'intranet-bottom.inc' %]