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

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/action-logs.inc (+107 lines)
Line 0 Link Here
1
[% BLOCK translate_log_module %]
2
[%    SWITCH module %]
3
[%        CASE 'AUTH'         %]<span>Authentication</span>[% UNLESS Koha.Preference('AuthFailureLog') || Koha.Preference('AuthScuccessLog') %] <i class="fa-solid fa-triangle-exclamation" title="Log not enabled"></i>[% END %]
4
[%        CASE 'CATALOGUING'  %]<span>Catalog</span>[% UNLESS Koha.Preference('CataloguingLog') %] <i class="fa-solid fa-triangle-exclamation" title="Log not enabled"></i>[% END %]
5
6
[%        CASE 'AUTHORITIES'  %]<span>Authorities</span>[% UNLESS Koha.Preference('AuthoritiesLog') %] <i class="fa-solid fa-triangle-exclamation" title="Log not enabled"></i>[% END %]
7
8
[%        CASE 'MEMBERS'      %]<span>Patrons</span>[% UNLESS Koha.Preference('BorrowersLog') %] <i class="fa-solid fa-triangle-exclamation" title="Log not enabled"></i>[% END %]
9
10
[%        CASE 'ACQUISITIONS' %]<span>Acquisitions</span>[% UNLESS Koha.Preference('AcquisitionLog') %]<i class="fa-solid fa-triangle-exclamation" title="Log not enabled"></i>[% END %]
11
12
[%        CASE 'SERIAL'       %]<span>Serials</span>[% UNLESS Koha.Preference('SubscriptionLog') %] <i class="fa-solid fa-triangle-exclamation" title="Log not enabled"></i>[% END %]
13
14
[%        CASE 'HOLDS'        %]<span>Holds</span>[% UNLESS Koha.Preference('HoldsLog') %] <i class="fa-solid fa-triangle-exclamation" title="Log not enabled"></i>[% END %]
15
16
[%        CASE 'ILL'          %]<span>Interlibrary loans</span>[% UNLESS Koha.Preference('IllLog') %] <i class="fa-solid fa-triangle-exclamation" title="Log not enabled"></i>[% END %]
17
18
[%        CASE 'CIRCULATION'  %]<span>Circulation</span>[% UNLESS Koha.Preference('IssueLog') %] <i class="fa-solid fa-triangle-exclamation" title="Log not enabled"></i>[% END %]
19
20
[%        CASE 'CLAIMS'       %]<span>Claims</span>[% UNLESS Koha.Preference('ClaimsLog') %] <i class="fa-solid fa-triangle-exclamation" title="Log not enabled"></i>[% END %]
21
22
[%        CASE 'FINES'        %]<span>Fines</span>[% UNLESS Koha.Preference('FinesLog') %] <i class="fa-solid fa-triangle-exclamation" title="Log not enabled"></i>[% END %]
23
24
[%        CASE 'SYSTEMPREFERENCE' %]<span>System preferences</span>
25
26
[%        CASE 'CRONJOBS' %]<span>Cron jobs</span>[% UNLESS Koha.Preference('CronjobLog') %] <i class="fa-solid fa-triangle-exclamation" title="Log not enabled"></i>[% END %]
27
28
[%        CASE 'REPORTS'      %]<span>Reports</span>[% UNLESS Koha.Preference('ReportsLog') %] <i class="fa-solid fa-triangle-exclamation" title="Log not enabled"></i>[% END %]
29
30
[%        CASE 'SEARCHENGINE' %]<span>Search engine</span>
31
32
[%        CASE 'NOTICES'      %]<span>Notices</span>[% UNLESS Koha.Preference('NoticesLog') %] <i class="fa-solid fa-triangle-exclamation" title="Log not enabled"></i>[% END %]
33
[%        CASE 'NEWS'      %]<span>News</span>[% UNLESS Koha.Preference('NewsLog') %] <i class="fa-solid fa-triangle-exclamation" title="Log not enabled"></i>[% END %]
34
[%        CASE 'RECALLS'      %]<span>Recalls</span>[% UNLESS Koha.Preference('RecallsLog') %] <i class="fa-solid fa-triangle-exclamation" title="Log not enabled"></i>[% END %]
35
[%        CASE 'SUGGESTION'      %]<span>Suggestions</span>[% UNLESS Koha.Preference('SuggestionsLog') %] <i class="fa-solid fa-triangle-exclamation" title="Log not enabled"></i>[% END %]
36
37
[%        CASE %][% module | html %]
38
[%    END %]
39
[% END %]
40
41
[% BLOCK translate_log_action %]
42
[%    SWITCH action %]
43
[%        CASE 'ADD'    %]<span>Add</span>
44
[%        CASE 'DELETE' %]<span>Delete</span>
45
[%        CASE 'MODIFY' %]<span>Modify</span>
46
[%        CASE 'ISSUE'  %]<span>Checkout</span>
47
[%        CASE 'RETURN' %]<span>Return</span>
48
[%        CASE 'CREATE' %]<span>Create</span>
49
[%        CASE 'CANCEL' %]<span>Cancel</span>
50
[%        CASE 'FILL'   %]<span>Fill</span>
51
[%        CASE 'RESUME' %]<span>Resume</span>
52
[%        CASE 'SUSPEND' %]<span>Suspend</span>
53
[%        CASE 'RENEW'  %]<span>Renew</span>
54
[%        CASE 'RENEWAL' %]<span>Renew</span>
55
[%        CASE 'CHANGE PASS' %]<span>Change password</span>
56
[%        CASE 'RESET PASS' %]<span>Reset password</span>
57
[%        CASE 'ADDCIRCMESSAGE' %]<span>Add circulation message</span>
58
[%        CASE 'MODCIRCMESSAGE' %]<span>Modify circulation message</span>
59
[%        CASE 'DELCIRCMESSAGE' %]<span>Delete circulation message</span>
60
[%        CASE 'STATUS_CHANGE'  %]<span>Change ILL request status</span>
61
[%        CASE 'PATRON_NOTICE'  %]<span>ILL notice sent to patron</span>
62
[%        CASE 'ADD_BASKET' %]<span>Create an acquisitions basket</span>
63
[%        CASE 'MODIFY_BASKET' %]<span>Modify an acquisitions basket</span>
64
[%        CASE 'MODIFY_BASKET_HEADER' %]<span>Modify an acquisitions basket header</span>
65
[%        CASE 'MODIFY_BASKET_USERS' %]<span>Modify an acquisitions basket's users</span>
66
[%        CASE 'CLOSE_BASKET' %]<span>Close an acquisitions basket</span>
67
[%        CASE 'APPROVE_BASKET' %]<span>Approve an acquisitions basket</span>
68
[%        CASE 'REOPEN_BASKET' %]<span>Reopen an acquisitions basket</span>
69
[%        CASE 'CANCEL_ORDER' %]<span>Cancel an order</span>
70
[%        CASE 'CREATE_ORDER' %]<span>Create an order</span>
71
[%        CASE 'MODIFY_ORDER' %]<span>Modify an order</span>
72
[%        CASE 'CREATE_INVOICE_ADJUSTMENT' %]<span>Create an invoice adjustment</span>
73
[%        CASE 'UPDATE_INVOICE_ADJUSTMENT' %]<span>Modify an invoice adjustment</span>
74
[%        CASE 'DELETE_INVOICE_ADJUSTMENT' %]<span>Delete an invoice adjustment</span>
75
[%        CASE 'RECEIVE_ORDER' %]<span>Receive an order</span>
76
[%        CASE 'MODIFY_BUDGET' %]<span>Modify a budget</span>
77
[%        CASE 'CREATE_FUND' %]<span>Create a fund</span>
78
[%        CASE 'MODIFY_FUND' %]<span>Modify a fund</span>
79
[%        CASE 'DELETE_FUND' %]<span>Delete a fund</span>
80
[%        CASE 'CREATE_RESTRICTION' %]<span>Create restriction</span>
81
[%        CASE 'MODIFY_RESTRICTION' %]<span>Modify restriction</span>
82
[%        CASE 'DELETE_RESTRICTION' %]<span>Delete restriction</span>
83
[%        CASE 'Run'    %]<span>Run</span>
84
[%        CASE 'End'    %]<span>End</span>
85
[%        CASE 'EDIT_MAPPINGS' %]<span>Edit mappings</span>
86
[%        CASE 'RESET_MAPPINGS' %]<span>Reset mappings</span>
87
[%        CASE 'SERIAL CLAIM' %]<span>Serial claim</span>
88
[%        CASE 'ACQUISITION CLAIM' %]<span>Acquisition claim</span>
89
[%        CASE 'ACQUISITION ORDER' %]<span>Acquisition order</span>
90
[%        CASE 'OVERDUE' %]<span>Overdue</span>
91
[%        CASE 'EXPIRE'  %]<span>Expire</span>
92
[%        CASE %][% action | html %]
93
[%    END %]
94
[% END %]
95
96
[% BLOCK translate_log_interface %]
97
[%    SWITCH log_interface.upper %]
98
[%        CASE 'INTRANET'    %]<span>Staff interface</span>
99
[%        CASE 'OPAC'        %]<span>OPAC</span>
100
[%        CASE 'SIP'         %]<span>SIP</span>
101
[%        CASE 'COMMANDLINE' %]<span>Command-line</span>
102
[%        CASE 'API'         %]<span>REST API</span>
103
[%        CASE 'CRON'        %]<span>Cron job</span>
104
[%        CASE 'UPGRADE'     %]<span>Upgrade</span>
105
[%        CASE %]<span>[% log_interface | html %]</span>
106
[%    END %]
107
[% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/viewlog.tt (-108 / +1 lines)
Lines 67-179 Link Here
67
    [% INCLUDE 'cat-search.inc' %]
67
    [% INCLUDE 'cat-search.inc' %]
68
[% END %]
68
[% END %]
69
69
70
[% BLOCK translate_log_module %]
70
[% PROCESS 'action-logs.inc' %]
71
[%    SWITCH module %]
72
[%        CASE 'AUTH'         %]<span>Authentication</span>[% UNLESS Koha.Preference('AuthFailureLog') || Koha.Preference('AuthScuccessLog') %] <i class="fa-solid fa-triangle-exclamation" title="Log not enabled"></i>[% END %]
73
[%        CASE 'CATALOGUING'  %]<span>Catalog</span>[% UNLESS Koha.Preference('CataloguingLog') %] <i class="fa-solid fa-triangle-exclamation" title="Log not enabled"></i>[% END %]
74
75
[%        CASE 'AUTHORITIES'  %]<span>Authorities</span>[% UNLESS Koha.Preference('AuthoritiesLog') %] <i class="fa-solid fa-triangle-exclamation" title="Log not enabled"></i>[% END %]
76
77
[%        CASE 'MEMBERS'      %]<span>Patrons</span>[% UNLESS Koha.Preference('BorrowersLog') %] <i class="fa-solid fa-triangle-exclamation" title="Log not enabled"></i>[% END %]
78
79
[%        CASE 'ACQUISITIONS' %]<span>Acquisitions</span>[% UNLESS Koha.Preference('AcquisitionLog') %]<i class="fa-solid fa-triangle-exclamation" title="Log not enabled"></i>[% END %]
80
81
[%        CASE 'SERIAL'       %]<span>Serials</span>[% UNLESS Koha.Preference('SubscriptionLog') %] <i class="fa-solid fa-triangle-exclamation" title="Log not enabled"></i>[% END %]
82
83
[%        CASE 'HOLDS'        %]<span>Holds</span>[% UNLESS Koha.Preference('HoldsLog') %] <i class="fa-solid fa-triangle-exclamation" title="Log not enabled"></i>[% END %]
84
85
[%        CASE 'ILL'          %]<span>Interlibrary loans</span>[% UNLESS Koha.Preference('IllLog') %] <i class="fa-solid fa-triangle-exclamation" title="Log not enabled"></i>[% END %]
86
87
[%        CASE 'CIRCULATION'  %]<span>Circulation</span>[% UNLESS Koha.Preference('IssueLog') %] <i class="fa-solid fa-triangle-exclamation" title="Log not enabled"></i>[% END %]
88
89
[%        CASE 'CLAIMS'       %]<span>Claims</span>[% UNLESS Koha.Preference('ClaimsLog') %] <i class="fa-solid fa-triangle-exclamation" title="Log not enabled"></i>[% END %]
90
91
[%        CASE 'FINES'        %]<span>Fines</span>[% UNLESS Koha.Preference('FinesLog') %] <i class="fa-solid fa-triangle-exclamation" title="Log not enabled"></i>[% END %]
92
93
[%        CASE 'SYSTEMPREFERENCE' %]<span>System preferences</span>
94
95
[%        CASE 'CRONJOBS' %]<span>Cron jobs</span>[% UNLESS Koha.Preference('CronjobLog') %] <i class="fa-solid fa-triangle-exclamation" title="Log not enabled"></i>[% END %]
96
97
[%        CASE 'REPORTS'      %]<span>Reports</span>[% UNLESS Koha.Preference('ReportsLog') %] <i class="fa-solid fa-triangle-exclamation" title="Log not enabled"></i>[% END %]
98
99
[%        CASE 'SEARCHENGINE' %]<span>Search engine</span>
100
101
[%        CASE 'NOTICES'      %]<span>Notices</span>[% UNLESS Koha.Preference('NoticesLog') %] <i class="fa-solid fa-triangle-exclamation" title="Log not enabled"></i>[% END %]
102
[%        CASE 'NEWS'      %]<span>News</span>[% UNLESS Koha.Preference('NewsLog') %] <i class="fa-solid fa-triangle-exclamation" title="Log not enabled"></i>[% END %]
103
[%        CASE 'RECALLS'      %]<span>Recalls</span>[% UNLESS Koha.Preference('RecallsLog') %] <i class="fa-solid fa-triangle-exclamation" title="Log not enabled"></i>[% END %]
104
[%        CASE 'SUGGESTION'      %]<span>Suggestions</span>[% UNLESS Koha.Preference('SuggestionsLog') %] <i class="fa-solid fa-triangle-exclamation" title="Log not enabled"></i>[% END %]
105
106
[%        CASE %][% module | html %]
107
[%    END %]
108
[% END %]
109
110
[% BLOCK translate_log_action %]
111
[%    SWITCH action %]
112
[%        CASE 'ADD'    %]<span>Add</span>
113
[%        CASE 'DELETE' %]<span>Delete</span>
114
[%        CASE 'MODIFY' %]<span>Modify</span>
115
[%        CASE 'ISSUE'  %]<span>Checkout</span>
116
[%        CASE 'RETURN' %]<span>Return</span>
117
[%        CASE 'CREATE' %]<span>Create</span>
118
[%        CASE 'CANCEL' %]<span>Cancel</span>
119
[%        CASE 'FILL'   %]<span>Fill</span>
120
[%        CASE 'RESUME' %]<span>Resume</span>
121
[%        CASE 'SUSPEND' %]<span>Suspend</span>
122
[%        CASE 'RENEW'  %]<span>Renew</span>
123
[%        CASE 'RENEWAL' %]<span>Renew</span>
124
[%        CASE 'CHANGE PASS' %]<span>Change password</span>
125
[%        CASE 'RESET PASS' %]<span>Reset password</span>
126
[%        CASE 'ADDCIRCMESSAGE' %]<span>Add circulation message</span>
127
[%        CASE 'MODCIRCMESSAGE' %]<span>Modify circulation message</span>
128
[%        CASE 'DELCIRCMESSAGE' %]<span>Delete circulation message</span>
129
[%        CASE 'STATUS_CHANGE'  %]<span>Change ILL request status</span>
130
[%        CASE 'PATRON_NOTICE'  %]<span>ILL notice sent to patron</span>
131
[%        CASE 'ADD_BASKET' %]<span>Create an acquisitions basket</span>
132
[%        CASE 'MODIFY_BASKET' %]<span>Modify an acquisitions basket</span>
133
[%        CASE 'MODIFY_BASKET_HEADER' %]<span>Modify an acquisitions basket header</span>
134
[%        CASE 'MODIFY_BASKET_USERS' %]<span>Modify an acquisitions basket's users</span>
135
[%        CASE 'CLOSE_BASKET' %]<span>Close an acquisitions basket</span>
136
[%        CASE 'APPROVE_BASKET' %]<span>Approve an acquisitions basket</span>
137
[%        CASE 'REOPEN_BASKET' %]<span>Reopen an acquisitions basket</span>
138
[%        CASE 'CANCEL_ORDER' %]<span>Cancel an order</span>
139
[%        CASE 'CREATE_ORDER' %]<span>Create an order</span>
140
[%        CASE 'MODIFY_ORDER' %]<span>Modify an order</span>
141
[%        CASE 'CREATE_INVOICE_ADJUSTMENT' %]<span>Create an invoice adjustment</span>
142
[%        CASE 'UPDATE_INVOICE_ADJUSTMENT' %]<span>Modify an invoice adjustment</span>
143
[%        CASE 'DELETE_INVOICE_ADJUSTMENT' %]<span>Delete an invoice adjustment</span>
144
[%        CASE 'RECEIVE_ORDER' %]<span>Receive an order</span>
145
[%        CASE 'MODIFY_BUDGET' %]<span>Modify a budget</span>
146
[%        CASE 'CREATE_FUND' %]<span>Create a fund</span>
147
[%        CASE 'MODIFY_FUND' %]<span>Modify a fund</span>
148
[%        CASE 'DELETE_FUND' %]<span>Delete a fund</span>
149
[%        CASE 'CREATE_RESTRICTION' %]<span>Create restriction</span>
150
[%        CASE 'MODIFY_RESTRICTION' %]<span>Modify restriction</span>
151
[%        CASE 'DELETE_RESTRICTION' %]<span>Delete restriction</span>
152
[%        CASE 'Run'    %]<span>Run</span>
153
[%        CASE 'End'    %]<span>End</span>
154
[%        CASE 'EDIT_MAPPINGS' %]<span>Edit mappings</span>
155
[%        CASE 'RESET_MAPPINGS' %]<span>Reset mappings</span>
156
[%        CASE 'SERIAL CLAIM' %]<span>Serial claim</span>
157
[%        CASE 'ACQUISITION CLAIM' %]<span>Acquisition claim</span>
158
[%        CASE 'ACQUISITION ORDER' %]<span>Acquisition order</span>
159
[%        CASE 'OVERDUE' %]<span>Overdue</span>
160
[%        CASE 'EXPIRE'  %]<span>Expire</span>
161
[%        CASE %][% action | html %]
162
[%    END %]
163
[% END %]
164
165
[% BLOCK translate_log_interface %]
166
[%    SWITCH log_interface.upper %]
167
[%        CASE 'INTRANET'    %]<span>Staff interface</span>
168
[%        CASE 'OPAC'        %]<span>OPAC</span>
169
[%        CASE 'SIP'         %]<span>SIP</span>
170
[%        CASE 'COMMANDLINE' %]<span>Command-line</span>
171
[%        CASE 'API'         %]<span>REST API</span>
172
[%        CASE 'CRON'        %]<span>Cron job</span>
173
[%        CASE 'UPGRADE'     %]<span>Upgrade</span>
174
[%        CASE %]<span>[% log_interface | html %]</span>
175
[%    END %]
176
[% END %]
177
71
178
[% WRAPPER 'sub-header.inc' %]
72
[% WRAPPER 'sub-header.inc' %]
179
    [% WRAPPER breadcrumbs %]
73
    [% WRAPPER breadcrumbs %]
180
- 

Return to bug 36118