Bug 26086: Add 'cron' to log viewer interface options
authorNick Clemens <nick@bywatersolutions.com>
Wed, 29 Jul 2020 13:49:03 +0000 (13:49 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 18 Aug 2020 15:41:52 +0000 (17:41 +0200)
Signed-off-by: Rebecca Coert <rcoert@arlingtonva.us>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Bug 26086: (follow-up) Be consistent with space in cron job

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>

koha-tmpl/intranet-tmpl/prog/en/modules/tools/viewlog.tt

index 6613320..58e8b54 100644 (file)
@@ -87,6 +87,7 @@ fieldset.rows label.viewlog {
 [%        CASE 'SIP'         %]SIP
 [%        CASE 'COMMANDLINE' %]Command-line
 [%        CASE 'API'         %]REST API
+[%        CASE 'CRON'        %]Cron job
 [%        CASE %][% log_interface | html %]
 [%    END %]
 [% END %]
@@ -178,7 +179,7 @@ fieldset.rows label.viewlog {
                                     <label for="interfaceALL" class="viewlog"><input type="checkbox" id="interfaceALL" name="interfaces" value=""> All</label>
                                 [% END %]
 
-                                [% FOREACH interf IN [ 'INTRANET' 'OPAC' 'SIP' 'COMMANDLINE' 'API' ] %]
+                                [% FOREACH interf IN [ 'INTRANET' 'OPAC' 'SIP' 'COMMANDLINE' 'API' 'CRON' ] %]
                                     [% IF interfaces.grep(interf).size %]
                                         <label for="interface[% interf | html %]" class="viewlog"><input type="checkbox" id="interface[% interf | html %]" name="interfaces" value="[% interf | html %]" checked="checked"> [% PROCESS translate_log_interface log_interface=interf %]</label>
                                     [% ELSE %]