src/ztfy/myams/interfaces/configuration.py
changeset 56 c27d6eafe467
parent 52 3d75d7c04593
child 101 8364fb15bfe5
--- a/src/ztfy/myams/interfaces/configuration.py	Wed Jul 02 10:42:49 2014 +0200
+++ b/src/ztfy/myams/interfaces/configuration.py	Thu Jul 10 16:06:12 2014 +0200
@@ -12,7 +12,7 @@
 
 # import Zope3 packages
 from zope.interface import Interface, Attribute
-from zope.schema import TextLine, Bool, Choice
+from zope.schema import Text, TextLine, Bool, Choice
 
 # import local packages
 from ztfy.file.schema import ImageField, FileField
@@ -126,9 +126,20 @@
                                  description=_("This is the name of UserVoice javascript file"),
                                  required=False)
 
+    login_header_info = Text(title=_("Login page header info"),
+                             description=_("This text will be displayed in login page header. "
+                                           "You can use reStructuredText syntax."),
+                             required=False)
+
+    login_footer_info = Text(title=_("Login page footer info"),
+                             description=_("This text will be displayed in login page footer. "
+                                           "You can use reStructuredText syntax."),
+                             required=False)
+
     static_configuration = Attribute(_("Application static configuration utility"))
 
-    user_email = Attribute(_("Current user email address"))
+    def getUserEmail(self):
+        """Get current user email address"""
 
 
 class IMyAMSConfigurationTarget(Interface):