- Timestamp:
- 11 Nov 2006, 13:17:52 (18 years ago)
- Location:
- WAeUP_SRP/trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/Students.py
r790 r840 136 136 student_obj.invokeFactory('StudentClearance','clearance') 137 137 clearance = student_obj.clearance 138 dc = {'Title': 'Clearance Data'}138 dc = {'Title': 'Clearance/Eligibility Record'} 139 139 dc['matric_no'] = matric_no 140 140 state = student.get('State') … … 324 324 student.invokeFactory('StudentClearance','clearance') 325 325 #wftool.doActionFor(student.clearance,'open') 326 dp = {'Title': 'Clearance Data'}326 dp = {'Title': 'Clearance/Eligibility Record'} 327 327 student.clearance.manage_setLocalRoles(sid, ['Owner',]) 328 328 student.invokeFactory('StudentPume','pume') … … 762 762 """compose title""" 763 763 content = self.getContent() 764 #return "Clearance Datafor %s %s" % (content.firstname,content.lastname)765 return "Clearance Data"764 #return "Clearance/Eligibility Record for %s %s" % (content.firstname,content.lastname) 765 return "Clearance/Eligibility Record" 766 766 767 767 -
WAeUP_SRP/trunk/profiles/default/types/StudentClearance.xml
r839 r840 2 2 <object name="StudentClearance" meta_type="CPS Flexible Type Information" 3 3 xmlns:i18n="http://xml.zope.org/namespaces/i18n"> 4 <property name="title">WAeUP Student Clearance Data</property>4 <property name="title">WAeUP Student Clearance/Eligibility Data</property> 5 5 <property name="description"></property> 6 6 <property name="content_icon"></property> -
WAeUP_SRP/trunk/skins/waeup_student/clearance_view.pt
r837 r840 1 <metal:html tal:define="info context/getStudentInfo"> 1 <metal:html tal:define="info context/getStudentInfo; 2 is_manager info/is_manager|nothing; 3 is_student info/is_student|nothing; 4 s_info context/getStudentInfo;"> 2 5 <metal:body use-macro="here/waeup_content_master/macros/master"> 3 6 <metal:main fill-slot="main"> … … 18 21 </div> 19 22 20 <h3>My Clearance/Eligibility Record</h3> 23 <h3> 24 <span tal:condition="python:is_manager and s_info"> 25 <span tal:content="s_info/student/Title" />: 26 </span> 27 <span tal:condition="python:is_student"> 28 My 29 </span> 30 <span tal:content="here/title_or_id" /> 31 </h3> 32 21 33 <br /> 22 34 <span tal:omit-tag=""
Note: See TracChangeset for help on using the changeset viewer.