# HG changeset patch # User Thierry Florac # Date 1494925523 -7200 # Node ID a6c8b6a420f731046b4535b09f77ae9fa82beaba # Parent e3c1ec4f32606797b8085e96ac0d5790c5b7b035 Declare "forms" and "views" tool names attributes diff -r e3c1ec4f3260 -r a6c8b6a420f7 src/pyams_content/root/__init__.py --- a/src/pyams_content/root/__init__.py Tue May 16 11:01:09 2017 +0200 +++ b/src/pyams_content/root/__init__.py Tue May 16 11:05:23 2017 +0200 @@ -112,6 +112,7 @@ """Site root tools configuration""" tools_name = None + views_tool_name = None forms_tool_name = None news_tool_name = None diff -r e3c1ec4f3260 -r a6c8b6a420f7 src/pyams_content/root/interfaces/__init__.py --- a/src/pyams_content/root/interfaces/__init__.py Tue May 16 11:01:09 2017 +0200 +++ b/src/pyams_content/root/interfaces/__init__.py Tue May 16 11:05:23 2017 +0200 @@ -55,6 +55,9 @@ """Site root tools configuration interface""" tools_name = Attribute("Tools name") + + views_tool_name = Attribute("Views tool name") + forms_tool_name = Attribute("Forms tool name") news_tool_name = Attribute("News tool name") imagemaps_tool_name = Attribute("Image maps tool name")