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/SharedMetadata.py

    r414 r444  
    187187              accessor='getAuthorsNames', 
    188188              widget = StringWidget( 
    189                   visible = {'view':'visible', 'edit':'invisible'}, 
     189                  visible = {'view':'invisible', 'edit':'invisible'}, 
    190190                  label='Creators', 
    191191                  label_msgid='label_creators', 
Note: See TracChangeset for help on using the changeset viewer.