diff --git a/src/psm/Module/Server/Controller/StatusController.php b/src/psm/Module/Server/Controller/StatusController.php index 72e07277..a83ebccf 100644 --- a/src/psm/Module/Server/Controller/StatusController.php +++ b/src/psm/Module/Server/Controller/StatusController.php @@ -62,6 +62,8 @@ class StatusController extends AbstractServerController { 'label_rtime' => psm_get_lang('servers', 'latency'), 'block_layout_active' => ($layout == 0) ? 'active' : '', 'list_layout_active' => ($layout != 0) ? 'active' : '', + 'label_add_server' => psm_get_lang('system', 'add_new'), + 'url_save' => psm_build_url(array('mod' => 'server', 'action' => 'edit')), ); $this->setHeaderAccessories($this->twig->render('module/server/status/header.tpl.html', $layout_data)); diff --git a/src/templates/default/module/server/status/index.tpl.html b/src/templates/default/module/server/status/index.tpl.html index 43a73110..43bc6c41 100644 --- a/src/templates/default/module/server/status/index.tpl.html +++ b/src/templates/default/module/server/status/index.tpl.html @@ -36,7 +36,8 @@ {% endfor %} {% if not servers_offline and not servers_online %} {{ label_none }} - +
+ {% endif %} @@ -87,7 +88,8 @@ {% else %} {{ label_none }} - +
+ {% endif %}