Changeset 1796
- Timestamp:
- 18 May 2007, 10:52:31 (18 years ago)
- Location:
- WAeUP_SRP/trunk
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/profiles/default/cps_portlets/portlet_object_actions_staff.xml
r1737 r1796 45 45 <f id="provider" v=""/> 46 46 <f id="show_icons" v="True"/> 47 <f id="slot" v="staff_object_ tabs"/>47 <f id="slot" v="staff_object_slot"/> 48 48 <f id="slot_override" v="0"/> 49 49 <f id="visibility_range" v="0-0"/> -
WAeUP_SRP/trunk/profiles/default/cps_portlets/portlet_object_actions_students.xml
r1737 r1796 37 37 <f id="provider" v=""/> 38 38 <f id="show_icons" v="True"/> 39 <f id="slot" v="student_object_ tabs"/>39 <f id="slot" v="student_object_slot"/> 40 40 <f id="slot_override" v="0"/> 41 41 <f id="visibility_range" v="0-0"/> -
WAeUP_SRP/trunk/profiles/default/vocabularies.xml
r1756 r1796 36 36 <object name="searchable_academics_states" meta_type="CPS Vocabulary"/> 37 37 <object name="verdicts" meta_type="CPS Vocabulary"/> 38 <object name="global_roles" meta_type="CPS Vocabulary"/> 38 39 </object> -
WAeUP_SRP/trunk/skins/waeup_design/main_template.pt
r1792 r1796 26 26 student_theme python:test(waeup_skin == 'WAeUP_Student',1,0); 27 27 navigation_slot python:test(student_theme,'student_navigation_slot','navigation_slot'); 28 object_tabs python:test(student_theme,'student_object_ tabs','staff_object_tabs');28 object_tabs python:test(student_theme,'student_object_slot','staff_object_slot'); 29 29 30 30 "> -
WAeUP_SRP/trunk/skins/waeup_directory/getWAeUPDirectoryActions.py
r953 r1796 45 45 'name': 'cpsdir_label_edit_entry', 46 46 'category': 'object', 47 'available': True, 48 'visible': True, 49 'allowed': True, 50 'permissions': ('View',), 47 51 } 48 52 -
WAeUP_SRP/trunk/skins/waeup_directory/member_view.pt
r953 r1796 7 7 <metal:block use-macro="here/main_template/macros/master"> 8 8 9 <metal:block fill-slot=" style_slot">9 <metal:block fill-slot="head_slot"> 10 10 <tal:block define="global actions 11 python:context.getWAeUPDirectoryActions(actions, dirname, dir, 'view', id)"/> 11 python:context.getWAeUPDirectoryActions(actions, dirname, dir, 'view', id)"/> 12 </metal:block> 13 14 <metal:block fill-slot="style_slot"> 12 15 <link rel="Stylesheet" type="text/css" href="" 13 16 tal:attributes="href string:${base_url}document.css" /> … … 17 20 18 21 <metal:block fill-slot="main" tal:define=" 19 20 res python: dir.renderEntryDetailed(id); 21 global rendered_main python: res[0]; 22 ds python: res[1]; 23 global title ds/?title_field|id;"> 22 res python: dir.renderEntryDetailed(id); 23 global rendered_main python: res[0]; 24 ds python: res[1]; 25 global title ds/?title_field|id;"> 24 26 25 27 <h3> … … 27 29 </h3> 28 30 29 31 30 32 <div tal:replace="structure rendered_main">Rendered main...</div> 31 33 <input type="submit" name="back" i18n:attributes="value" -
WAeUP_SRP/trunk/skins/waeup_student/display_session_results.py
r1794 r1796 81 81 if res: 82 82 student_id = res[0].id 83 student_obj = getattr(context.portal_url.getPortalObject().campus.students,student_id,None) 83 84 #There was one student with empty id in returning_import (BMS0406035) 85 student_obj = None 86 if student_id: 87 student_obj = getattr(context.portal_url.getPortalObject().campus.students,student_id,None) 88 else: 89 registered = ' ' 90 84 91 if student_obj and hasattr(student_obj,'application'): 85 92 registered = student_id
Note: See TracChangeset for help on using the changeset viewer.