Changeset 1906


Ignore:
Timestamp:
07/25/07 14:00:53 (12 years ago)
Author:
jukka
Message:

Closed #1475. Groups still refer to these as 'learning resources', we'll clean those page templates when resource-based discussions are added.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Activity.py

    r1840 r1906  
    2828from Tool import homepage 
    2929 
    30 schema = BaseSchema + bodytext + coverImage + tags + no_description + homepage + author_schema + language_schema + license_schema + lemill_metadata_mods + deletionReason + translation_schema + latest_edit_schema + score + Schema(( 
     30schema = BaseSchema + bodytext + coverImage + tags + group_sharing + no_description + homepage + author_schema + language_schema + license_schema + lemill_metadata_mods + deletionReason + translation_schema + latest_edit_schema + score + Schema(( 
    3131 
    3232    FileField('video', 
     
    4848schema.moveField('language', after='address') 
    4949schema.moveField('tags', after='language') 
     50schema.moveField('groups', after='tags') 
    5051schema.moveField('rights', pos='bottom') 
    5152 
  • trunk/Tool.py

    r1840 r1906  
    2121from Products.Archetypes.public import LinesWidget, TextAreaWidget, IdWidget, StringWidget, SelectionWidget, RichWidget 
    2222from Products.Archetypes.public import BaseContent, registerType 
    23 from SharedMetadata import bodytext, language_schema, tags, coverImage, lemill_metadata_mods, no_description, author_schema, license_schema, deletionReason, translation_schema, latest_edit_schema, score 
     23from SharedMetadata import bodytext, language_schema, tags, coverImage, lemill_metadata_mods, no_description, author_schema, license_schema, deletionReason, translation_schema, latest_edit_schema, score, group_sharing 
    2424from FieldsWidgets import TagsField, HTMLLinkWidget 
    2525from Globals import InitializeClass 
     
    4444)) 
    4545 
    46 schema = BaseSchema + bodytext + coverImage + tags + no_description + author_schema + homepage + language_schema + lemill_metadata_mods + license_schema + deletionReason + translation_schema + latest_edit_schema + score 
     46schema = BaseSchema + bodytext + coverImage + tags + group_sharing + no_description + author_schema + homepage + language_schema + lemill_metadata_mods + license_schema + deletionReason + translation_schema + latest_edit_schema + score 
    4747 
    4848# ALWAYS schema.copy before making changes to fields. 
     
    5656schema.moveField('language', after='address') 
    5757schema.moveField('tags', after='language') 
     58schema.moveField('groups', after='tags') 
    5859schema.moveField('rights', pos='bottom') 
    5960 
Note: See TracChangeset for help on using the changeset viewer.