Merge branch dev-dc (contact card evolution)
authorThierry Florac <tflorac@ulthar.net>
Wed, 14 Nov 2018 09:52:13 +0100
changeset 219 b82dc95dff03
parent 216 a12caaa4299d (current diff)
parent 218 549c215da6ce (diff)
child 220 0c28a10db587
Merge branch dev-dc (contact card evolution)
--- a/src/pyams_default_theme/component/paragraph/contact.py	Tue Nov 13 09:23:18 2018 +0100
+++ b/src/pyams_default_theme/component/paragraph/contact.py	Wed Nov 14 09:52:13 2018 +0100
@@ -82,7 +82,7 @@
     settings_interface = IContactParagraphDefaultRendererSettings
 
     if have_gis:
-        context_attrs = ('name', 'photo', 'gps_location', 'address', 'contact_email')
+        context_attrs = ('name', 'photo', 'company', 'gps_location', 'address', 'phone_number', 'contact_email')
     else:
-        context_attrs = ('name', 'photo', 'address', 'contact_email')
-    i18n_context_attrs = ('title', 'charge', )
+        context_attrs = ('name', 'photo', 'company', 'address', 'phone_number', 'contact_email')
+    i18n_context_attrs = ('title', 'charge',)