Ignore:
Timestamp:
28 Oct 2005, 06:46:35 (19 years ago)
Author:
joachim
Message:

=allow sections

Location:
waeup_product/trunk/skins/waeup_default
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • waeup_product/trunk/skins/waeup_default/getWAeUPTypes.py

    r107 r111  
    2020    'global_allow': 1,
    2121    'filter_content_types': 1,
    22     'allowed_content_types': ('StudentsFolder','Faculty','AccoFolder'),
     22    'allowed_content_types': ('StudentsFolder','Faculty','AccoFolder','Section','CPSProxyDocument'),
    2323    'allow_discussion': 0,
    2424    'cps_is_searchable': 1,
     
    4646                 #'action': 'folder_factories',
    4747                 'permissions': (UniversityManage,)},
     48                 {'id': 'new_content',
     49                 'name': 'New content',
     50                 'condition': "python:member and  'Manager' in member.getRoles()",
     51                 'action': 'string:${object_url}/folder_factories',
     52                 'permission': (ModifyPortalContent,),
     53                 'category': 'object',
     54                 'visible': True,},
    4855                {'id': 'contents',
    4956                 'name': 'action_folder_contents',
    5057                 'action': 'folder_contents',
    51                  'condition': "python:member and 'Manager' in member.getRoles()",
     58                 'condition': "python:member and 'UniversityManager' in member.getRoles()",
    5259                 'permissions': (ModifyPortalContent,UniversityManage,)},
    5360                {'id': 'edit',
  • waeup_product/trunk/skins/waeup_default/university_view.py

    r96 r111  
    1010    if 'Manager' in member.getRoles():
    1111        return context.folder_view()
     12return context.documents.frontpage()
    1213return context.university_view_all(psm=psm)
  • waeup_product/trunk/skins/waeup_default/university_view_all.pt

    r89 r111  
    1717               items here/contentValues"
    1818               >
     19    <span tal:content="context/documents/frontpage/content" />
    1920    <a href="" tal:attributes="href string:${context/absolute_url}/admission_status">Admission List UME</a>.<br />
    2021    <a href="" tal:attributes="href string:${context/absolute_url}/check_admission">Admission Request (JAMB canditates only)</a>.
Note: See TracChangeset for help on using the changeset viewer.