Ignore:
Timestamp:
4 Nov 2005, 17:07:18 (19 years ago)
Author:
joachim
Message:

=studylevel + Title

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

Legend:

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

    r151 r152  
    10211021        'rows': [
    10221022            [{'widget_id': 'Title', 'ncols': 1},],
     1023            #[{'widget_id': 'Year', 'ncols': 1},],
    10231024        ]
    10241025    },
  • waeup_product/trunk/skins/waeup_default/getWAeUPSchemas.py

    r144 r152  
    105105        },
    106106    },
     107}
     108#
     109###)
     110
     111studylevel = { ###(
    107112}
    108113#
     
    486491schemas['students'] = students_folder_schema
    487492schemas['student'] = student_schema
     493schemas['studylevel'] = studylevel
    488494schemas['course_results'] = course_results_schema
    489495schemas['student_personal'] = student_personal_schema
  • waeup_product/trunk/skins/waeup_default/getWAeUPTypes.py

    r139 r152  
    131131                 'name': 'delegate',
    132132                 'action': 'folder_localrole_form',
    133                  'permissions': (ModifyPortalContent),
    134                  'visible' : 0,
     133                 'permissions': (ModifyPortalContent,UniversityManage),
     134                 'visible' : 1,
    135135                },
    136136##                {'id': 'contents',
     
    319319    'description': 'The data from JAMB',
    320320    'content_icon': '',
    321     'content_meta_type': 'CPS Document',
    322     'product': 'CPSDocument',
    323     'factory': 'addCPSDocument',
     321    'content_meta_type': 'Jamb',
     322    'product': 'WAeUP',
     323    'factory': 'addJamb',
    324324    'immediate_view': 'cpsdocument_view',
    325325    'global_allow': True,
     
    426426    'content_meta_type': 'Level',
    427427    'product': 'WAeUP',
    428     'factory': 'addLevelFolder',
     428    'factory': 'addStudyLevel',
    429429    'immediate_view': 'folder_view',
    430430    'global_allow': True,
     
    477477    'content_meta_type': 'Semester',
    478478    'product': 'WAeUP',
    479     'factory': 'addLevelFolder',
     479    'factory': 'addSemester',
    480480    'immediate_view': 'folder_view',
    481481    'global_allow': True,
     
    505505          {'id': 'add_course_ticket',
    506506          'name': 'Add Course Ticket',
    507           'condition': "python:member and 'Student'in member.getRoles()",
    508507          'action'    : 'add_course_ticket',
    509508          #'action': 'folder_factories',
    510           'permissions': (StudentManage,)},
     509          'permissions': (ModifyPortalContent,UniversityManage,StudentManage)},
    511510         {'id': 'metadata',
    512511          'name': 'action_metadata',
    513512          'action': 'cpsdocument_metadata',
    514           'condition': "python:member and 'Manager' in member.getRoles()",
    515           'permissions': (UniversityManage,)},
     513          'permissions': (ModifyPortalContent,UniversityManage,)},
    516514          {'id': 'localroles',
    517515          'name': 'delegate',
    518516          'action': 'folder_localrole_form',
    519           'permissions': (UniversityManage,),
     517          'permissions': (ModifyPortalContent,UniversityManage,StudentManage),
    520518          'visible': 0,
    521519          },
     
    531529    'product': 'WAeUP',
    532530    'factory': 'addCourseTicket',
    533     'immediate_view': 'folder_view',
     531    'immediate_view': 'cpsdocument_view',
    534532    'global_allow': True,
    535533    'filter_content_types': True,
     
    791789          {'id': 'add_accommodation',
    792790          'name': 'Add Accommodation Hall',
    793           'condition': "python:member and 'UniversityManager'in member.getRoles()",
     791          #'condition': "python:member and 'UniversityManager'in member.getRoles()",
    794792          'action'    : 'add_accommodation',
    795793          #'action': 'folder_factories',
Note: See TracChangeset for help on using the changeset viewer.