Changed adapter name
authorThierry Florac <thierry.florac@onf.fr>
Wed, 28 Jun 2017 14:21:46 +0200
changeset 97 a4492ef494a8
parent 96 120f7842a8cb
child 98 451bb2fab7d4
Changed adapter name
src/pyams_content/shared/view/zmi/properties.py
--- a/src/pyams_content/shared/view/zmi/properties.py	Wed Jun 28 12:09:57 2017 +0200
+++ b/src/pyams_content/shared/view/zmi/properties.py	Wed Jun 28 14:21:46 2017 +0200
@@ -29,13 +29,13 @@
 from pyams_content import _
 
 
-@adapter_config(name='publication',
+@adapter_config(name='view-settings',
                 context=(IWfView, IPyAMSLayer, SharedContentPropertiesEditForm),
                 provides=IInnerSubForm)
 class ViewPropertiesEditForm(InnerAdminEditForm):
     """View properties edit form extension"""
 
-    legend = _("Contents search settings")
+    legend = _("Main view settings")
     fieldset_class = 'bordered no-x-margin margin-y-10'
 
     fields = field.Fields(IWfView).select('selected_content_types', 'order_by', 'reversed_order', 'limit')