Bug 26595: Add SMTP server column to libraries table
authorTomas Cohen Arazi <tomascohen@theke.io>
Thu, 1 Oct 2020 15:10:39 +0000 (12:10 -0300)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 14 Oct 2020 13:53:38 +0000 (15:53 +0200)
commit1a62e3e030b75d5e3b0aaf30b8f6a80d39fc343b
treed025d5644edbbad82472552378ca2a098a23b5c2
parentc59b0227836faff9af5218625af1fb7f25268ea7
Bug 26595: Add SMTP server column to libraries table

This patch makes the libraries datatable render the assigned SMTP server
on each row. 'Default' will be rendered when the system default is
detected. A link to the SMTP server config will be rendered when a real
SMTP server is assigned.

To test:
1. Apply this patches, reload al the things
2. Visit the libraries table
=> SUCCESS: There's an SMTP server column displaying the right thing
3. Assign an SMTP server to a library
=> SUCCESS: The table displays the server name as a link
=> SUCCESS: The link correctly points to the SMTP server config page
4. Sign off

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt