@@ -, +, @@
---
.../prog/en/modules/admin/branches.tt | 20 +++++++++++++++++--
1 file changed, 18 insertions(+), 2 deletions(-)
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt
+++ a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt
@@ -209,6 +209,7 @@
MARC organization code |
IP |
Pickup location |
+ SMTP server |
Actions |
@@ -243,9 +244,10 @@
"ajax": {
"url": libraries_url
},
+ 'embed': [ 'smtp_server_info' ],
'emptyTable': '',
"columnDefs": [ {
- "targets": [0,1,3,4,7,8,9,10,11,12,13,14,15],
+ "targets": [0,1,3,4,6,8,9,10,11,12,13,14,15],
"render": function (data, type, row, meta) {
if ( type == 'display' ) {
if ( data != null ) {
@@ -316,6 +318,20 @@
return (data) ? _("Yes") : _("No");
}
},
+ {
+ "data": "smtp_server_info",
+ "render": function( data, type, row, meta ) {
+ if ( data.name == 'system_default' ) {
+ return _("Default");
+ }
+ else {
+ return ''+data.name.escapeHtml()+'';
+ }
+ },
+ "searchable": false,
+ "visible": true,
+ "orderable": false
+ },
{
"data": function( row, type, val, meta ) {
@@ -384,7 +400,7 @@
"searchable": true,
"visible": false,
"orderable": false
- },
+ }
]
}, columns_settings);
--