Module: check_mk
Branch: master
Commit: 8ea57c600c318e4632a7db3d1982ef97e9c192c9
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=8ea57c600c318e…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Mon Oct 21 15:51:25 2013 -0400
Wiki-Snapin: fix error in exception message
---
web/plugins/sidebar/shipped.py | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/web/plugins/sidebar/shipped.py b/web/plugins/sidebar/shipped.py
index 7933dd8..97e6320 100644
--- a/web/plugins/sidebar/shipped.py
+++ b/web/plugins/sidebar/shipped.py
@@ -1144,7 +1144,8 @@ def render_wiki():
if ul_started == True:
html.write("</ul>")
except IOError:
- html.write("You have to create a <a
href='/%s/wiki/doku.php?id=%s'>sidebar</a> first" %
defaults.omd_sites )
+ html.write("You have to create a <a
href='/%s/wiki/doku.php?id=%s'>sidebar</a> first" %
+ (defaults.omd_site, _("sidebar") ))
if defaults.omd_root:
sidebar_snapins["wiki"] = {
@@ -1186,7 +1187,7 @@ if defaults.omd_root:
font-size: 8pt;
width: 194px;
height: 25px;
- background-image: url("images/search_field_bg.png");
+ background-image: url("images/quicksearch_field_bg.png");
background-repeat: no-repeat;
-moz-border-radius: 0px;
border-style: none;