author | Thierry Florac <tflorac@ulthar.net> |
Mon, 07 Oct 2019 13:43:35 +0200 | |
changeset 475 | de4f0a16b866 |
parent 474 | a5c3c52e7f3c |
child 476 | 43aeb0631fd0 |
--- a/src/pyams_default_theme/shared/common/__init__.py Fri Oct 04 19:17:10 2019 +0200 +++ b/src/pyams_default_theme/shared/common/__init__.py Mon Oct 07 13:43:35 2019 +0200 @@ -56,7 +56,7 @@ if content is not None: data_type = content.get_data_type() if data_type is not None: - return II18n(data_type).query_attribute('label', request=self.request) + return data_type.name @adapter_config(name='title', context=(IWfSharedContent, IPyAMSUserLayer, Interface),