Module: check_mk
Branch: master
Commit: dedac25b3181c3b8808c273a28f7ce4d3888b549
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=dedac25b3181c3…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Thu Sep 19 16:21:23 2013 +0200
Multisite: Using site alias in page title - if available
---
web/htdocs/main.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/web/htdocs/main.py b/web/htdocs/main.py
index 5ccb624..ce94309 100644
--- a/web/htdocs/main.py
+++ b/web/htdocs/main.py
@@ -33,7 +33,7 @@ def page_index():
#html.req.headers_out.add("Cache-Control", "max-age=7200,
public");
html.req.headers_out.add("Cache-Control", "no-cache");
if "%s" in config.page_heading:
- heading = config.page_heading % (defaults.omd_site or _("Multisite"))
+ heading = config.page_heading %
(config.site(defaults.omd_site).get('alias', _("Multisite")))
else:
heading = config.page_heading