Changeset 849
- Timestamp:
- 12 Nov 2006, 07:27:27 (18 years ago)
- Location:
- WAeUP_SRP/trunk
- Files:
-
- 1 added
- 1 deleted
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/profiles/default/actionicons.xml
r824 r849 229 229 action_id="registration" title="My Study" 230 230 priority="1" icon_expr="blank.gif"/> 231 <action-icon category="student_navigation" 232 action_id="reserve_accommodation" 233 title="My Accommodation" priority="2" 234 icon_expr="blank.gif"/> 231 235 <action-icon category="student_navigation" 232 236 action_id="prospectus" title="Prospectus" 233 priority=" 2" icon_expr="blank.gif"/>234 <action-icon category="student_navigation" 235 action_id="contact_student" title=" Contact"236 priority=" 3" icon_expr="blank.gif"/>237 priority="3" icon_expr="blank.gif"/> 238 <action-icon category="student_navigation" 239 action_id="contact_student" title="Support" 240 priority="4" icon_expr="blank.gif"/> 237 241 <action-icon category="student_object" action_id="slip" 238 242 title="Acknowledegement Slip" priority="1" … … 250 254 title="Check if admitted" priority="3" 251 255 icon_expr="bell.png"/> 252 <action-icon category="student" action_id="reserve_accommodation"253 title="Book Hostel" priority="3"254 icon_expr="bell.png"/>255 256 <action-icon category="student" action_id="register_courses" 256 257 title="Register Courses" priority="4" -
WAeUP_SRP/trunk/profiles/default/actions.xml
r831 r849 161 161 </action> 162 162 163 <action title=" Book Hostel" action_id="reserve_accommodation"164 category="student " condition_expr="member"163 <action title="My Accommodation" action_id="reserve_accommodation" 164 category="student_navigation" condition_expr="member" 165 165 url_expr="string:${portal_url}/reserve_accommodation" visible="True"/> 166 166 <permission>View</permission> -
WAeUP_SRP/trunk/skins/waeup_student/getStudentInfo.py
r845 r849 124 124 row['s_edit_link'] = "%s/%s" % (soo.absolute_url(),se_link) 125 125 row['review_state'] = so.review_state 126 row['display'] = so.review_state in ('opened','closed','public','bed_reserved',) #or\ 127 #so.portal_type in ("StudentAccommodation","StudentStudyCourse") 126 row['display'] = so.review_state in ('opened','closed',) 128 127 items.append(row) 129 128 info['items'] = items -
WAeUP_SRP/trunk/skins/waeup_student/reserve_accommodation.py
r835 r849 47 47 ) 48 48 if psm == 'invalid': 49 return context.accommodation_pin_ form(rendered = res,49 return context.accommodation_pin_edit_form(rendered = res, 50 50 psm = "Please correct your input.", 51 51 #psm = "%s, %s" % (psm,ds), … … 54 54 ) 55 55 elif psm == '': 56 return context.accommodation_pin_ form(rendered = res,56 return context.accommodation_pin_edit_form(rendered = res, 57 57 psm = None, 58 58 mode = mode, … … 66 66 code,bed = pa.searchAndReserveBed(s_id,"%s_%s" % (info['sex'],ds.get('student_status'))) 67 67 if code < 0: 68 return context.accommodation_pin_ form(rendered = res,68 return context.accommodation_pin__edit_form(rendered = res, 69 69 psm = bed, 70 70 mode = mode,
Note: See TracChangeset for help on using the changeset viewer.