src/ztfy/myams/viewlet/shortcuts/__init__.py
changeset 9 f5fda123ea09
parent 0 8a19e25e39e4
child 80 8313880ee18d
--- a/src/ztfy/myams/viewlet/shortcuts/__init__.py	Wed May 07 17:56:55 2014 +0200
+++ b/src/ztfy/myams/viewlet/shortcuts/__init__.py	Wed May 07 17:57:28 2014 +0200
@@ -18,6 +18,8 @@
 # import local packages
 from ztfy.baseskin.viewlet import WeightViewletManagerBase, ViewletBase
 
+from ztfy.myams import _
+
 
 class ShortcutsViewletManager(WeightViewletManagerBase):
     """Shortcuts viewlet manager"""
@@ -38,3 +40,14 @@
 
     def getURL(self):
         return self.href
+
+
+class ManagementInterfaceShortcut(Shortcut):
+    """Access to management interface"""
+
+    bg_color_class = 'bg-color-orangeDark'
+    icon_class = 'fa-gears'
+    label = _("Management interface")
+    href = '@@properties.html'
+    modal_target = False
+    checked = False