Bugzilla – Attachment 154884 Details for
Bug 34619
Show debug mode column in list of SMTP servers
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 34619: Show debug mode column in list of SMTP servers
Bug-34619-Show-debug-mode-column-in-list-of-SMTP-s.patch (text/plain), 2.31 KB, created by
Owen Leonard
on 2023-08-28 12:59:04 UTC
(
hide
)
Description:
Bug 34619: Show debug mode column in list of SMTP servers
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2023-08-28 12:59:04 UTC
Size:
2.31 KB
patch
obsolete
>From 8d4964698386b0fd44ab3d51e5187bc112d5df61 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Mon, 28 Aug 2023 12:49:43 +0000 >Subject: [PATCH] Bug 34619: Show debug mode column in list of SMTP servers > >This patch adds a column to the table of SMTP servers which shows >whether debug mode is on or off. This information was previously only >conveyed through the color of the text in the table row. > >To test, apply the patch and go to Administration -> SMTP servers. > >- If necessary, add one or more SMTP servers so that there are more than > one: At least one with debug mode on, at least one with debug mode > off. >- In the table listing SMTP servers you should see a column for "Debug > mode," where the rows indicate "On" or "Off." >- Each row which is highlighted in red should show "On" for debug mode. >--- > .../prog/en/modules/admin/smtp_servers.tt | 13 +++++++++++++ > 1 file changed, 13 insertions(+) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/smtp_servers.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/smtp_servers.tt >index beefae3859..76e27e39ab 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/smtp_servers.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/smtp_servers.tt >@@ -261,6 +261,7 @@ > <th>Timeout (secs)</th> > <th>SSL</th> > <th>Authenticated</th> >+ <th>Debug mode</th> > <th>Is default</th> > <th data-class-name="actions noExport">Actions</th> > </tr> >@@ -394,6 +395,18 @@ > "searchable": false, > "orderable": false > }, >+ { >+ "data": function( row, type, val, meta ) { >+ if ( row.debug ) { >+ return _("On"); >+ } >+ else { >+ return _("Off"); >+ } >+ }, >+ "searchable": false, >+ "orderable": false >+ }, > { > "data": function( row, type, val, meta ) { > if ( row.is_default ) { >-- >2.30.2
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 34619
:
154884
|
155554
|
156407