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. Signed-off-by: Émily-Rose Francoeur <emily-rose.francoeur@inLibro.com> Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
f91db88fce
commit
799f7968dd
1 changed files with 13 additions and 0 deletions
|
@ -261,6 +261,7 @@
|
||||||
<th>Timeout (secs)</th>
|
<th>Timeout (secs)</th>
|
||||||
<th>SSL</th>
|
<th>SSL</th>
|
||||||
<th>Authenticated</th>
|
<th>Authenticated</th>
|
||||||
|
<th>Debug mode</th>
|
||||||
<th>Is default</th>
|
<th>Is default</th>
|
||||||
<th data-class-name="actions noExport">Actions</th>
|
<th data-class-name="actions noExport">Actions</th>
|
||||||
</tr>
|
</tr>
|
||||||
|
@ -394,6 +395,18 @@
|
||||||
"searchable": false,
|
"searchable": false,
|
||||||
"orderable": 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 ) {
|
"data": function( row, type, val, meta ) {
|
||||||
if ( row.is_default ) {
|
if ( row.is_default ) {
|
||||||
|
|
Loading…
Reference in a new issue