View | Details | Raw Unified | Return to bug 8387
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/tools-menu.inc (-1 / +17 lines)
Lines 5-10 Link Here
5
<ul>
5
<ul>
6
    <li><a href="/cgi-bin/koha/tools/tools-home.pl">Tools home</a></li>
6
    <li><a href="/cgi-bin/koha/tools/tools-home.pl">Tools home</a></li>
7
</ul>
7
</ul>
8
[% IF ( CAN_user_tools_manage_patron_lists || CAN_user_clubs || CAN_user_tools_moderate_comments || CAN_user_tools_import_patrons
9
  || CAN_user_tools_edit_notices || CAN_user_tools_edit_notice_status_triggers || CAN_user_tools_label_creator || CAN_user_tools_delete_anonymize_patrons
10
  || CAN_user_tools_edit_patrons || CAN_user_tools_moderate_tags || CAN_user_tools_batch_upload_patron_images ) %]
8
<h5>Patrons and circulation</h5>
11
<h5>Patrons and circulation</h5>
9
<ul>
12
<ul>
10
    [% IF ( CAN_user_tools_manage_patron_lists ) %]
13
    [% IF ( CAN_user_tools_manage_patron_lists ) %]
Lines 41-46 Link Here
41
	<li><a href="/cgi-bin/koha/tools/picture-upload.pl">Upload patron images</a></li>
44
	<li><a href="/cgi-bin/koha/tools/picture-upload.pl">Upload patron images</a></li>
42
    [% END %]
45
    [% END %]
43
</ul>
46
</ul>
47
[% END %]
48
[% IF ( CAN_user_tools_items_batchdel || CAN_user_tools_items_batchmod || CAN_user_tools_records_batchdel
49
  || CAN_user_tools_records_batchmod || CAN_user_tools_export_catalog || CAN_user_tools_inventory
50
  || CAN_user_tools_label_creator || CAN_user_tools_rotating_collections
51
  || ( CAN_user_stockrotation_manage_rotas && Koha.Preference('StockRotation') )
52
  || CAN_user_tools_marc_modification_templates || CAN_user_tools_stage_marc_import
53
  || CAN_user_tools_manage_staged_marc || CAN_user_tools_upload_local_cover_images ) %]
44
<h5>Catalog</h5>
54
<h5>Catalog</h5>
45
<ul>
55
<ul>
46
    [% IF ( CAN_user_tools_items_batchdel ) %]
56
    [% IF ( CAN_user_tools_items_batchdel ) %]
Lines 87-92 Link Here
87
    <li><a href="/cgi-bin/koha/tools/upload-cover-image.pl">Upload local cover image</a></li>
97
    <li><a href="/cgi-bin/koha/tools/upload-cover-image.pl">Upload local cover image</a></li>
88
    [% END %]
98
    [% END %]
89
</ul>
99
</ul>
100
[% END %]
101
[% IF ( CAN_user_tools_edit_calendar || CAN_user_tools_manage_csv_profiles || CAN_user_tools_view_system_logs || CAN_user_tools_edit_news
102
  || CAN_user_tools_schedule_tasks || CAN_user_tools_edit_quotes || ( UseKohaPlugins && CAN_user_plugins_tool )
103
  || CAN_user_tools_upload_general_files || CAN_user_tools_access_files ) %]
90
<h5>Additional tools</h5>
104
<h5>Additional tools</h5>
91
<ul>
105
<ul>
92
    [% IF ( CAN_user_tools_edit_calendar ) %]
106
    [% IF ( CAN_user_tools_edit_calendar ) %]
Lines 116-119 Link Here
116
    [% IF ( CAN_user_tools_access_files ) %]
130
    [% IF ( CAN_user_tools_access_files ) %]
117
    <li><a href="/cgi-bin/koha/tools/access_files.pl">Access files</a></li>
131
    <li><a href="/cgi-bin/koha/tools/access_files.pl">Access files</a></li>
118
    [% END %]
132
    [% END %]
119
</ul></div></div>
133
</ul>
134
[% END %]
135
</div></div>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/tools-home.tt (-8 / +22 lines)
Lines 13-19 Link Here
13
<div class="container-fluid">
13
<div class="container-fluid">
14
    <div class="row">
14
    <div class="row">
15
        <div class="col-sm-4">
15
        <div class="col-sm-4">
16
[% IF ( CAN_user_tools_manage_patron_lists || CAN_user_clubs || CAN_user_tools_moderate_comments || CAN_user_tools_import_patrons
17
  || CAN_user_tools_edit_notices || CAN_user_tools_edit_notice_status_triggers || CAN_user_tools_label_creator || CAN_user_tools_delete_anonymize_patrons
18
  || CAN_user_tools_edit_patrons || CAN_user_tools_moderate_tags || CAN_user_tools_batch_upload_patron_images ) %]
16
<h3>Patrons and circulation</h3>
19
<h3>Patrons and circulation</h3>
20
[% END %]
17
<dl>
21
<dl>
18
    [% IF (CAN_user_tools_manage_patron_lists) %]
22
    [% IF (CAN_user_tools_manage_patron_lists) %]
19
    <dt><a href="/cgi-bin/koha/patron_lists/lists.pl">Patron lists</a>
23
    <dt><a href="/cgi-bin/koha/patron_lists/lists.pl">Patron lists</a>
Lines 27-33 Link Here
27
31
28
    [% IF ( CAN_user_tools_moderate_comments ) %]
32
    [% IF ( CAN_user_tools_moderate_comments ) %]
29
    <dt><a href="/cgi-bin/koha/reviews/reviewswaiting.pl">Comments</a> [% IF ( pendingcomments ) %]<span class="number_box"><a href="/cgi-bin/koha/reviews/reviewswaiting.pl">[% pendingcomments | html %]</a></span>[% END %]</dt>
33
    <dt><a href="/cgi-bin/koha/reviews/reviewswaiting.pl">Comments</a> [% IF ( pendingcomments ) %]<span class="number_box"><a href="/cgi-bin/koha/reviews/reviewswaiting.pl">[% pendingcomments | html %]</a></span>[% END %]</dt>
30
	<dd>Moderate patron comments. </dd>
34
    <dd>Moderate patron comments. </dd>
31
    [% END %]
35
    [% END %]
32
    
36
    
33
    [% IF ( CAN_user_tools_import_patrons ) %]
37
    [% IF ( CAN_user_tools_import_patrons ) %]
Lines 62-80 Link Here
62
66
63
    [% IF ( CAN_user_tools_moderate_tags ) %]
67
    [% IF ( CAN_user_tools_moderate_tags ) %]
64
    <dt><a href="/cgi-bin/koha/tags/review.pl">Tags</a> [% IF ( pendingtags ) %]<span class="number_box"><a href="/cgi-bin/koha/tags/review.pl">[% pendingtags | html %]</a></span>[% END %]</dt>
68
    <dt><a href="/cgi-bin/koha/tags/review.pl">Tags</a> [% IF ( pendingtags ) %]<span class="number_box"><a href="/cgi-bin/koha/tags/review.pl">[% pendingtags | html %]</a></span>[% END %]</dt>
65
	<dd>Moderate patron tags</dd>
69
    <dd>Moderate patron tags</dd>
66
    [% END %]
70
    [% END %]
67
71
68
    [% IF ( CAN_user_tools_batch_upload_patron_images ) %]
72
    [% IF ( CAN_user_tools_batch_upload_patron_images ) %]
69
    <dt><a href="/cgi-bin/koha/tools/picture-upload.pl">Upload patron images</a></dt>
73
    <dt><a href="/cgi-bin/koha/tools/picture-upload.pl">Upload patron images</a></dt>
70
	<dd>Upload patron images in a batch or one at a time</dd>
74
    <dd>Upload patron images in a batch or one at a time</dd>
71
    [% END %]
75
    [% END %]
72
	</dl>
76
    </dl>
73
</div>
77
</div>
74
78
75
79
76
<div class="col-sm-4 col-sm-push-4">
80
<div class="col-sm-4 col-sm-push-4">
81
[% IF ( CAN_user_tools_edit_calendar || CAN_user_tools_manage_csv_profiles || CAN_user_tools_view_system_logs || CAN_user_tools_edit_news
82
  || CAN_user_tools_schedule_tasks || CAN_user_tools_edit_quotes || ( UseKohaPlugins && CAN_user_plugins_tool )
83
  || CAN_user_tools_upload_general_files || CAN_user_tools_access_files ) %]
77
<h3>Additional tools</h3>
84
<h3>Additional tools</h3>
85
[% END %]
78
<dl>
86
<dl>
79
    [% IF ( CAN_user_tools_edit_calendar ) %]
87
    [% IF ( CAN_user_tools_edit_calendar ) %]
80
    <dt><a href="/cgi-bin/koha/tools/holidays.pl">Calendar</a></dt>
88
    <dt><a href="/cgi-bin/koha/tools/holidays.pl">Calendar</a></dt>
Lines 83-93 Link Here
83
91
84
    [% IF ( CAN_user_tools_manage_csv_profiles ) %]
92
    [% IF ( CAN_user_tools_manage_csv_profiles ) %]
85
    <dt><a href="/cgi-bin/koha/tools/csv-profiles.pl">CSV profiles</a></dt>
93
    <dt><a href="/cgi-bin/koha/tools/csv-profiles.pl">CSV profiles</a></dt>
86
	<dd>Manage CSV export profiles</dd>
94
    <dd>Manage CSV export profiles</dd>
87
    [% END %]
95
    [% END %]
88
96
89
    [% IF ( CAN_user_tools_view_system_logs ) %]
97
    [% IF ( CAN_user_tools_view_system_logs ) %]
90
	<dt><a href="/cgi-bin/koha/tools/viewlog.pl">Log viewer</a></dt>
98
    <dt><a href="/cgi-bin/koha/tools/viewlog.pl">Log viewer</a></dt>
91
    <dd>Browse the system logs</dd>
99
    <dd>Browse the system logs</dd>
92
    [% END %]
100
    [% END %]
93
101
Lines 100-106 Link Here
100
    <dt><a href="/cgi-bin/koha/tools/scheduler.pl">Task scheduler</a></dt>
108
    <dt><a href="/cgi-bin/koha/tools/scheduler.pl">Task scheduler</a></dt>
101
    <dd>Schedule tasks to run</dd>
109
    <dd>Schedule tasks to run</dd>
102
    [% END %]
110
    [% END %]
103
	
111
104
    [% IF ( CAN_user_tools_edit_quotes ) %]
112
    [% IF ( CAN_user_tools_edit_quotes ) %]
105
    <dt><a href="/cgi-bin/koha/tools/quotes.pl">Edit quotes for QOTD feature</a></dt>
113
    <dt><a href="/cgi-bin/koha/tools/quotes.pl">Edit quotes for QOTD feature</a></dt>
106
    <dd>Quote editor for Quote-of-the-day feature in OPAC</dd>
114
    <dd>Quote editor for Quote-of-the-day feature in OPAC</dd>
Lines 125-131 Link Here
125
</div>
133
</div>
126
134
127
<div class="col-sm-4 col-sm-pull-4">
135
<div class="col-sm-4 col-sm-pull-4">
136
[% IF ( CAN_user_tools_items_batchdel || CAN_user_tools_items_batchmod || CAN_user_tools_records_batchdel
137
  || CAN_user_tools_records_batchmod || CAN_user_tools_export_catalog || CAN_user_tools_inventory
138
  || CAN_user_tools_label_creator || CAN_user_tools_rotating_collections
139
  || ( CAN_user_stockrotation_manage_rotas && Koha.Preference('StockRotation') )
140
  || CAN_user_tools_marc_modification_templates || CAN_user_tools_stage_marc_import
141
  || CAN_user_tools_manage_staged_marc || CAN_user_tools_upload_local_cover_images ) %]
128
<h3>Catalog</h3>
142
<h3>Catalog</h3>
143
[% END %]
129
<dl>
144
<dl>
130
    [% IF ( CAN_user_tools_items_batchdel ) %]
145
    [% IF ( CAN_user_tools_items_batchdel ) %]
131
    <dt><a href="/cgi-bin/koha/tools/batchMod.pl?del=1">Batch item deletion</a></dt>
146
    <dt><a href="/cgi-bin/koha/tools/batchMod.pl?del=1">Batch item deletion</a></dt>
132
- 

Return to bug 8387