summaryrefslogtreecommitdiffstats
path: root/modules-available/sysconfig/page.inc.php
diff options
context:
space:
mode:
authorSimon Rettberg2016-09-07 16:32:06 +0200
committerSimon Rettberg2016-09-07 16:32:06 +0200
commitd22fd667d09c2c159daed9d7f1ba4f705fec9c74 (patch)
treeac76f4e0c2219b569ce959f690d4a512880c1676 /modules-available/sysconfig/page.inc.php
parent[roomplanner] Sanity checks/fixups when saving computers, more user feedback,... (diff)
downloadslx-admin-d22fd667d09c2c159daed9d7f1ba4f705fec9c74.tar.gz
slx-admin-d22fd667d09c2c159daed9d7f1ba4f705fec9c74.tar.xz
slx-admin-d22fd667d09c2c159daed9d7f1ba4f705fec9c74.zip
[sysconfig] Improve design, hide more controls in location-specific view, get rid of JS hack for ellipsis in tables (by adding a HTML/CSS hack for it :))
Diffstat (limited to 'modules-available/sysconfig/page.inc.php')
-rw-r--r--modules-available/sysconfig/page.inc.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/modules-available/sysconfig/page.inc.php b/modules-available/sysconfig/page.inc.php
index a3c0c93f..353d51db 100644
--- a/modules-available/sysconfig/page.inc.php
+++ b/modules-available/sysconfig/page.inc.php
@@ -150,7 +150,9 @@ class Page_SysConfig extends Page
$this->listModules();
}
Render::closeTag('div');
- Render::addTemplate('list-legend', array('showLocationBadge' => $this->haveOverriddenLocations));
+ if ($this->currentLoc === 0) {
+ Render::addTemplate('list-legend', array('showLocationBadge' => $this->haveOverriddenLocations));
+ }
return;
case 'module':
$listid = Request::post('list');