--- a/src/pyams_default_theme/component/paragraph/interfaces/contact.py Tue Nov 20 09:13:12 2018 +0100
+++ b/src/pyams_default_theme/component/paragraph/interfaces/contact.py Tue Nov 20 15:40:17 2018 +0100
@@ -12,15 +12,11 @@
__docformat__ = 'restructuredtext'
-
-# import standard library
-
-# import interfaces
+from zope.interface import Attribute, Interface
+from zope.schema import Bool, Choice
+from zope.schema.vocabulary import SimpleTerm, SimpleVocabulary
-# import packages
-from zope.interface import Interface, Attribute
-from zope.schema import Bool, Choice
-from zope.schema.vocabulary import SimpleVocabulary, SimpleTerm
+from pyams_i18n.schema import I18nTextLineField
from pyams_default_theme import _
@@ -60,3 +56,8 @@
default='right')
can_display_map = Attribute("Check if location map can be displayed")
+
+ button_label = I18nTextLineField(title=_("Contact button label"),
+ description=_("Custom label of the contact button displayed by "
+ "front-office template"),
+ required=False)