Changeset 444 for trunk/Tool.py


Ignore:
Timestamp:
07/14/06 03:03:22 (13 years ago)
Author:
jukka
Message:

Worked on #442, spent 2h. Modified the default view for archetypes objects to be quite nice: If fields are empty, then field labels are not shown and for fields that are probably main body texts (iff WYSIWYMWidget) labels are not shown. Also simplified view page macros a lot; bundled about 5 metal-macros to one.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tool.py

    r431 r444  
    4747for key in schema.keys(): 
    4848    schema[key].schemata = 'default' 
     49schema.moveField('bodyText', before='creators')     
    4950schema.moveField('language', after='address') 
    5051schema.moveField('tags', after='language') 
Note: See TracChangeset for help on using the changeset viewer.