# HG changeset patch # User Thierry Florac # Date 1543335707 -3600 # Node ID 52a1a1db5ec5ac0a41d403498400c4828f4e227c # Parent f1276d7bc4ce5e286d94ce259390f7e954b663c5 Added weight to thesaurus extensions diff -r f1276d7bc4ce -r 52a1a1db5ec5 src/pyams_content/component/illustration/thesaurus.py --- a/src/pyams_content/component/illustration/thesaurus.py Tue Nov 27 17:11:57 2018 +0100 +++ b/src/pyams_content/component/illustration/thesaurus.py Tue Nov 27 17:21:47 2018 +0100 @@ -30,6 +30,7 @@ """Illustration thesaurus extension""" label = _("Illustration") + weight = 20 target_interface = IBasicIllustrationTarget target_view = 'illustration-dialog.html' diff -r f1276d7bc4ce -r 52a1a1db5ec5 src/pyams_content/features/thesaurus/__init__.py --- a/src/pyams_content/features/thesaurus/__init__.py Tue Nov 27 17:11:57 2018 +0100 +++ b/src/pyams_content/features/thesaurus/__init__.py Tue Nov 27 17:21:47 2018 +0100 @@ -46,6 +46,7 @@ """HTML description thesaurus extension""" label = _("Rich text description") + weight = 10 target_interface = IThesaurusTermHTMLTarget target_view = 'html-description.html'