Bug 21190: Allow browsing the system logs for AUTH events
Trivial change, adding AUTH to viewlog template only. Test plan: Look for the Authentication log lines in viewlog.pl (intranet tools). Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> Signed-off-by: Jon Knight <J.P.Knight@lboro.ac.uk> Signed-off-by: Michal Denar <black23@gmail.com> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
This commit is contained in:
parent
8a04980366
commit
79754df526
1 changed files with 2 additions and 1 deletions
|
@ -39,6 +39,7 @@ fieldset.rows label.viewlog {
|
|||
|
||||
[% BLOCK translate_log_module %]
|
||||
[% SWITCH module %]
|
||||
[% CASE 'AUTH' %]Authentication
|
||||
[% CASE 'CATALOGUING' %]Catalog
|
||||
[% CASE 'AUTHORITIES' %]Authorities
|
||||
[% CASE 'MEMBERS' %]Patrons
|
||||
|
@ -123,7 +124,7 @@ fieldset.rows label.viewlog {
|
|||
[% ELSE %]
|
||||
<label for="moduleALL" class="viewlog"><input type="checkbox" id="moduleALL" name="modules" value=""> All</label>
|
||||
[% END %]
|
||||
[% FOREACH modx IN [ 'CATALOGUING' 'AUTHORITIES' 'MEMBERS' 'ACQUISITIONS' 'SERIAL' 'HOLDS' 'ILL' 'CIRCULATION' 'LETTER' 'FINES' 'SYSTEMPREFERENCE' 'CRONJOBS', 'REPORTS' ] %]
|
||||
[% FOREACH modx IN [ 'AUTH' 'CATALOGUING' 'AUTHORITIES' 'MEMBERS' 'ACQUISITIONS' 'SERIAL' 'HOLDS' 'ILL' 'CIRCULATION' 'LETTER' 'FINES' 'SYSTEMPREFERENCE' 'CRONJOBS', 'REPORTS' ] %]
|
||||
[% IF modules.grep(modx).size %]
|
||||
<label for="module[% modx | html %]" class="viewlog"><input type="checkbox" id="module[% modx | html %]" name="modules" value="[% modx | html %]" checked="checked"> [% PROCESS translate_log_module module=modx %]</label>
|
||||
[% ELSE %]
|
||||
|
|
Loading…
Reference in a new issue