Bugzilla – Attachment 145723 Details for
Bug 27424
One should be able to assign an SMTP server as the default
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 27424: (QA follow-up) Show current default on the editor for non-default servers
Bug-27424-QA-follow-up-Show-current-default-on-the.patch (text/plain), 2.10 KB, created by
Kyle M Hall (khall)
on 2023-01-27 11:57:04 UTC
(
hide
)
Description:
Bug 27424: (QA follow-up) Show current default on the editor for non-default servers
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2023-01-27 11:57:04 UTC
Size:
2.10 KB
patch
obsolete
>From 76a6c4c969e553102cfed5a4c0304300fcd4425e Mon Sep 17 00:00:00 2001 >From: Kyle Hall <kyle@bywatersolutions.com> >Date: Fri, 27 Jan 2023 06:34:31 -0500 >Subject: [PATCH] Bug 27424: (QA follow-up) Show current default on the editor > for non-default servers > >--- > .../prog/en/modules/admin/smtp_servers.tt | 15 ++++++++++++++- > 1 file changed, 14 insertions(+), 1 deletion(-) > >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 7105a1fbfd..810e72253c 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 >@@ -230,6 +230,19 @@ > [% END %] > <span>Sets this SMTP server as the default SMTP server.</span> > </li> >+ [% UNLESS smtp_server.is_default %] >+ <div class="dialog message" id="default_server_message"> >+ <p>Current default configuration:</p> >+ >+ <ul> >+ <li><strong>Host</strong>: [%- default_config.host | html -%]</li> >+ <li><strong>Port</strong>: [%- default_config.port | html -%]</li> >+ <li><strong>Timeout (secs)</strong>: [%- default_config.timeout | html -%]</li> >+ <li><strong>SSL</strong>: [%- IF default_config.ssl_mode == 'disabled' -%]<span>Disabled</span>[%- ELSIF default_config.ssl_mode == 'ssl' -%]<span>SSL</span>[%- ELSE -%]<span>STARTTLS</span>[%- END -%]</li> >+ <li><strong>Debug mode</strong>: [%- IF default_config.debug -%]Yes[%- ELSE -%]No[%- END -%]</li> >+ </ul> >+ </div> >+ [% END %] > </ol> > </fieldset> > <fieldset class="action"> >@@ -247,7 +260,7 @@ > > <h1>SMTP servers</h1> > >- <div class="dialog message" id="default_server_message"> >+ <div class="dialog message" id="default_server_message"> > <p>Default configuration:</p> > > <ul> >-- >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 27424
:
129673
|
129674
|
129675
|
129814
|
130168
|
130169
|
130170
|
130171
|
130172
|
130300
|
130301
|
130302
|
130303
|
130304
|
145697
|
145698
|
145699
|
145700
|
145701
|
145702
|
145705
| 145723 |
145724
|
145725
|
152192