Updated breadcrumbs
authorThierry Florac <thierry.florac@onf.fr>
Wed, 29 Aug 2018 11:56:20 +0200
changeset 903 18b68cac6d5a
parent 902 e62d6ef786d0
child 904 fc47e4291352
Updated breadcrumbs
src/pyams_content/reference/zmi/table.py
src/pyams_content/shared/common/zmi/manager.py
src/pyams_content/shared/site/zmi/container.py
src/pyams_content/shared/site/zmi/manager.py
--- a/src/pyams_content/reference/zmi/table.py	Wed Aug 29 10:34:03 2018 +0200
+++ b/src/pyams_content/reference/zmi/table.py	Wed Aug 29 11:56:20 2018 +0200
@@ -58,7 +58,7 @@
 
     @property
     def label(self):
-        return II18n(self.context).query_attribute('short_name', request=self.request)
+        return II18n(self.context).query_attribute('title', request=self.request)
 
     css_class = 'strong'
 
--- a/src/pyams_content/shared/common/zmi/manager.py	Wed Aug 29 10:34:03 2018 +0200
+++ b/src/pyams_content/shared/common/zmi/manager.py	Wed Aug 29 11:56:20 2018 +0200
@@ -56,7 +56,7 @@
 
     @property
     def label(self):
-        return II18n(self.context).query_attribute('short_name', request=self.request)
+        return II18n(self.context).query_attribute('title', request=self.request)
 
     css_class = 'strong'
 
--- a/src/pyams_content/shared/site/zmi/container.py	Wed Aug 29 10:34:03 2018 +0200
+++ b/src/pyams_content/shared/site/zmi/container.py	Wed Aug 29 11:56:20 2018 +0200
@@ -80,7 +80,7 @@
 
     @property
     def label(self):
-        return II18n(self.context).query_attribute('short_name', request=self.request)
+        return II18n(self.context).query_attribute('title', request=self.request)
 
 
 @adapter_config(context=(ISiteContainer, IAdminLayer), provides=IUserAddingsMenuLabel)
--- a/src/pyams_content/shared/site/zmi/manager.py	Wed Aug 29 10:34:03 2018 +0200
+++ b/src/pyams_content/shared/site/zmi/manager.py	Wed Aug 29 11:56:20 2018 +0200
@@ -63,7 +63,7 @@
 
     @property
     def label(self):
-        return II18n(self.context).query_attribute('short_name', request=self.request)
+        return II18n(self.context).query_attribute('title', request=self.request)
 
     css_class = 'strong'