Changeset 482 for WAeUP_SRP/trunk/skins/waeup_student
- Timestamp:
- 5 Sep 2006, 17:12:01 (18 years ago)
- Location:
- WAeUP_SRP/trunk/skins/waeup_student
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_student/apply_admission.py
r481 r482 5 5 return html renderer + psm 6 6 """ 7 import DateTime 8 current = DateTime.DateTime() 9 10 7 11 type_name = 'StudentApplication' 8 12 ti = context.portal_types[type_name] … … 79 83 da['app_ac_batch_no'] = ds.get('app_ac_batch_no') 80 84 da['app_ac_pin'] = ds.get('app_ac_pin') 85 da['app_ac_date'] = current 81 86 apdoc.edit(mapping = da) 82 87 # now display the passport form with jamb-data readonly -
WAeUP_SRP/trunk/skins/waeup_student/layout_student_edit.pt
r481 r482 103 103 </table> 104 104 105 <tal:block condition=" is_flexible">105 <tal:block condition="python:0 and is_flexible"> 106 106 <div tal:define="flexible_widgets options/flexible_widgets"> 107 107 <input type="hidden" name="layout_id" value="." … … 167 167 </dl> 168 168 </tal:block> 169 169 170 <input type="submit" class="standalone" name="cpsdocument_edit_button" 170 171 value="button_change" i18n:attributes="value" id="cpsdocument_edit_button" … … 173 174 value="button_change_and_view" i18n:attributes="value" 174 175 id="cpsdocument_edit_and_view_button" 175 tal:condition=" not:creation" />176 tal:condition="python:0 and not creation" /> 176 177 <input type="submit" 177 178 class="standalone" -
WAeUP_SRP/trunk/skins/waeup_student/student_edit.py
r479 r482 53 53 if cpsdocument_edit_and_view_button is not None: 54 54 action = '' 55 psm = 'p sm_content_changed'55 psm = 'passport image uploaded' 56 56 args = {} 57 action = "/view" 57 58 else: 58 59 psm = 'psm_content_error' 59 60 args = getFormUidUrlArg(REQUEST) 60 61 else: 62 args = {} 61 63 psm = "Application applied waiting for results" 62 64 action = "/view"
Note: See TracChangeset for help on using the changeset viewer.