Updated contact paragraph
authorThierry Florac <thierry.florac@onf.fr>
Wed, 04 Apr 2018 15:52:01 +0200
changeset 23 cf73769b3875
parent 22 87eb62630b15
child 24 10d9fbc9908f
Updated contact paragraph
src/pyams_default_theme/component/paragraph/contact.py
--- a/src/pyams_default_theme/component/paragraph/contact.py	Wed Mar 28 15:47:50 2018 +0200
+++ b/src/pyams_default_theme/component/paragraph/contact.py	Wed Apr 04 15:52:01 2018 +0200
@@ -92,7 +92,7 @@
     settings_interface = IContactParagraphDefaultRendererSettings
 
     if have_gis:
-        context_attrs = ('name', 'photo', 'gps_location', 'address')
+        context_attrs = ('name', 'photo', 'gps_location', 'address', 'contact_email')
     else:
-        context_attrs = ('name', 'photo', 'address')
+        context_attrs = ('name', 'photo', 'address', 'contact_email')
     i18n_context_attrs = ('title', 'charge', )