Module: check_mk
Branch: master
Commit: 6dbd50e06a9e6b039752c59989d2c181f989c27a
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=6dbd50e06a9e6b…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Thu Nov 8 19:59:07 2018 +0100
Fixed broken server time snapin description since recent refactoring
Change-Id: I8ae47b62d1640b351f6c6689b4dc11b09a489798
---
cmk/gui/plugins/sidebar/server_time.py | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/cmk/gui/plugins/sidebar/server_time.py
b/cmk/gui/plugins/sidebar/server_time.py
index 602c251..3e1686c 100644
--- a/cmk/gui/plugins/sidebar/server_time.py
+++ b/cmk/gui/plugins/sidebar/server_time.py
@@ -44,15 +44,11 @@ class CurrentTime(SidebarSnapin):
@classmethod
def description(cls):
return _("A large clock showing the current time of "
- "the web server"),
+ "the web server")
def show(self):
html.div(time.strftime("%H:%M"), class_="time")
- @classmethod
- def allowed_roles(cls):
- return [ "admin", "user", "guest" ]
-
def styles(self):
return """
div.time {