Changeset 170 for waeup_product/trunk
- Timestamp:
- 14 Nov 2005, 20:58:00 (19 years ago)
- Location:
- waeup_product/trunk
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
waeup_product/trunk/Extensions/install.py
r169 r170 192 192 }, 193 193 { 'tool' : 'portal_actions', 194 'id' : ' Academics',194 'id' : 'academics', 195 195 'name' : 'Academics', 196 196 'action' : "python: portal.portal_url.getUrlFromRpath('sections/demouni/academics')", -
waeup_product/trunk/Students.py
r168 r170 66 66 def Description(self): 67 67 """compose description""" 68 data = getattr(self,'JAMB',None) 68 data = getattr(self,'PERSONAL',None) 69 data_jamb = getattr(self,'JAMB',None) 70 if data is None: 71 data = data_jamb 69 72 if data: 70 content = data.getContent() 71 return "%s %s is studying %s" % (content.firstname,content.lastname,content.course) 73 content_data = data.getContent() 74 content_jamb = data_jamb.getContent() 75 return "%s %s is studying %s" % (content_data.firstname,content_data.lastname,content_jamb.course) 72 76 return self.description 73 77 … … 80 84 '%s_date' % ident : ds.get('sc_date'), 81 85 } 82 86 83 87 if self.portal_membership.isAnonymousUser(): 84 88 tmp_user = CPSUnrestrictedUser('s%(jamb_id)s' % ds, '', -
waeup_product/trunk/skins/waeup_default/getWAeUPTypes.py
r169 r170 304 304 { 305 305 'id' : 'DOCUMENTS', 306 'name' : ' Upload Documents',306 'name' : 'Scanned Documents', 307 307 'action' : 'string:${object/absolute_url}/DOCUMENTS', 308 308 'condition': "python: object.getContent().memberIsOwner() and getattr(object,'PERSONAL',None)", … … 316 316 { 317 317 'id' : 'register_study_level', 318 'name' : 'Register for next Level',318 'name' : 'Register for Next Level', 319 319 'action' : 'string:${object/absolute_url}/register_level', 320 320 'condition': 'python: object.getContent().memberIsOwner() and not object.getContent().isRegisteredForCurrentLevel()', … … 514 514 'visible': True,}, 515 515 {'id': 'add_level', 516 'name': 'Register for next year',516 'name': 'Register for Next Year', 517 517 'condition': "python:member and 'Student'in member.getRoles()", 518 518 'action' : 'register_level', … … 574 574 'name': 'action_metadata', 575 575 'action': 'cpsdocument_metadata', 576 'condition': "python:member and 'Manager' in member.getRoles()", 576 577 'permissions': (ModifyPortalContent,UniversityManage,)}, 577 578 {'id': 'localroles', -
waeup_product/trunk/skins/waeup_default/portlet_session_info.pt
r166 r170 21 21 </span> 22 22 </tal:block> 23 <tal:block condition="python: 0"> 23 24 <br /> 24 25 <a href="" tal:condition="python: 'Student' in member.getRoles() and not 'UniversityManager' in member.getRoles()" … … 26 27 Go to your personal area 27 28 </a> 29 </tal:block> 28 30 <br /> 29 31 <a href="" tal:condition="python: 0" -
waeup_product/trunk/skins/waeup_student/booked_accommodation.pt
r166 r170 8 8 > 9 9 You have successfully booked bed nr <span tal:content="acco/beds_assigned" /> in <span tal:content="acco/heading" />. 10 < br />Your next steps:10 <p>Your next steps:</p> 11 11 <ul> 12 <li>Buy a Hostel Scratch card</li>13 <li>Login with your user _id and password </li>14 <li> Klick on the pay Hostel Fee tab</li>12 <li>Buy a Hostel Fee Scratch Card</li> 13 <li>Login with your user id and password </li> 14 <li>Click 'Pay Hostel Fee'</li> 15 15 </ul> 16 16 </metal:block>
Note: See TracChangeset for help on using the changeset viewer.