Lines 165-171
Link Here
|
165 |
<div class="row"> |
165 |
<div class="row"> |
166 |
<div class="col-sm-12"> |
166 |
<div class="col-sm-12"> |
167 |
[%# Following statement must be in one line for translatability %] |
167 |
[%# Following statement must be in one line for translatability %] |
168 |
[% IF ( CAN_user_tools_moderate_comments && pendingcomments ) || ( CAN_user_tools_moderate_tags && pendingtags ) || ( CAN_user_borrowers_edit_borrowers && pending_borrower_modifications ) || ( CAN_user_suggestions_suggestions_manage && all_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 ) || ( Koha.Preference('OPACReportProblem') && CAN_user_problem_reports && pending_problem_reports.count ) || already_ran_jobs %] |
168 |
[% IF ( CAN_user_tools_moderate_comments && pendingcomments ) || ( CAN_user_tools_moderate_tags && pendingtags ) || ( CAN_user_borrowers_edit_borrowers && pending_borrower_modifications ) || ( CAN_user_suggestions_suggestions_manage && all_suggestions_count ) || ( CAN_user_borrowers_edit_borrowers && pending_discharge_requests ) || pending_article_requests || ( Koha.Preference('AllowCheckoutNotes') && CAN_user_circulate_manage_checkout_notes && pending_checkout_notes.count ) || ( Koha.Preference('OPACReportProblem') && CAN_user_problem_reports && pending_problem_reports.count ) || already_ran_jobs %] |
169 |
<div id="area-pending"> |
169 |
<div id="area-pending"> |
170 |
[% IF pending_article_requests %] |
170 |
[% IF pending_article_requests %] |
171 |
<div class="pending-info" id="article_requests_pending"> |
171 |
<div class="pending-info" id="article_requests_pending"> |
Lines 175-191
Link Here
|
175 |
</div> |
175 |
</div> |
176 |
[% END %] |
176 |
[% END %] |
177 |
|
177 |
|
178 |
[% IF ( CAN_user_suggestions_suggestions_manage && all_pendingsuggestions ) %] |
178 |
[% IF ( CAN_user_suggestions_suggestions_manage && all_suggestions_count ) %] |
179 |
<div class="pending-info" id="suggestions_pending"> |
179 |
<div class="pending-info" id="suggestions_pending"> |
180 |
|
180 |
|
181 |
Suggestions pending approval: |
181 |
Suggestions pending approval: |
182 |
<a href="/cgi-bin/koha/suggestion/suggestion.pl?branchcode=[% Branches.GetLoggedInBranchcode | url %]#ASKED"> |
182 |
<a href="/cgi-bin/koha/suggestion/suggestion.pl?branchcode=[% Branches.GetLoggedInBranchcode | url %]#ASKED"> |
183 |
<span id="pendingsuggestions" class="pending-number-link">[% Branches.GetLoggedInBranchname | html %]: [% pendingsuggestions | html %]</span> |
183 |
<span id="local_suggestions_count" class="pending-number-link">[% Branches.GetLoggedInBranchname | html %]: [% local_suggestions_count | html %]</span> |
184 |
</a> |
184 |
</a> |
185 |
[% IF (all_pendingsuggestions > 0) %] |
185 |
[% IF (suggestions_counts_differ) %] |
186 |
/ |
186 |
/ |
187 |
<a href="/cgi-bin/koha/suggestion/suggestion.pl?branchcode=__ANY__#ASKED"> |
187 |
<a href="/cgi-bin/koha/suggestion/suggestion.pl?branchcode=__ANY__#ASKED"> |
188 |
<span id="all_pendingsuggestions" class="pending-number-link">All libraries: [% all_pendingsuggestions | html %]</span> |
188 |
<span id="all_suggestions_count" class="pending-number-link">All libraries: [% all_suggestions_count | html %]</span> |
189 |
</a> |
189 |
</a> |
190 |
[% END %] |
190 |
[% END %] |
191 |
</div> |
191 |
</div> |