[Erp5-report] r25289 - /erp5/trunk/products/ERP5/PropertySheet/WebSection.py

nobody at svn.erp5.org nobody at svn.erp5.org
Fri Jan 23 23:17:39 CET 2009


Author: jp
Date: Fri Jan 23 23:17:38 2009
New Revision: 25289

URL: http://svn.erp5.org?rev=25289&view=rev
Log:
added properties so that building navigation or site maps can be achieved in a universal way indepent of the theme

Modified:
    erp5/trunk/products/ERP5/PropertySheet/WebSection.py

Modified: erp5/trunk/products/ERP5/PropertySheet/WebSection.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/PropertySheet/WebSection.py?rev=25289&r1=25288&r2=25289&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/PropertySheet/WebSection.py [utf8] (original)
+++ erp5/trunk/products/ERP5/PropertySheet/WebSection.py [utf8] Fri Jan 23 23:17:38 2009
@@ -62,6 +62,18 @@
             'type'        : 'boolean',
             'default'     : 1,
             'mode'        : 'rw' },
+        {   'id'          : 'site_map_document_parent',
+            'description' : 'Defines whether the documents of this section should '
+                            'be part of the site map.',
+            'type'        : 'boolean',
+            'default'     : 0,
+            'mode'        : 'rw' },
+        {   'id'          : 'site_map_section_parent',
+            'description' : 'Defines whether the subsections of this section should '
+                            'be part of the site map.',
+            'type'        : 'boolean',
+            'default'     : 0,
+            'mode'        : 'rw' },
         {   'id'          : 'custom_render_method_id',
             'description' : 'ID of a page template, script, form or any callable object'
                             'which overrides the default rendering of the section',




More information about the Erp5-report mailing list