Changeset 8391 for WAeUP_SRP/trunk
- Timestamp:
- 9 May 2012, 10:03:37 (13 years ago)
- Location:
- WAeUP_SRP/trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/Widgets.py
r7961 r8391 69 69 err = 0 70 70 try: 71 v = str(value) .strip()71 v = str(value) #.strip() 72 72 except ValueError: 73 73 err = 'cpsschemas_err_string' -
WAeUP_SRP/trunk/skins/waeup_student/study_course_view.pt
r8145 r8391 8 8 <span tal:define="create_level info/create_level|nothing; 9 9 is_so info/is_so; 10 titles here/getStudentObjectTitles;"> 10 titles here/getStudentObjectTitles;"> 11 11 <a href="" 12 12 tal:attributes="href string:${here/academicsParent}"> … … 14 14 Up one level 15 15 </a> 16 <h3> 16 <h3> 17 17 <span tal:condition="python:is_so and info"> 18 18 <span tal:content="info/student/name" />: … … 20 20 <span tal:condition="info/is_student"> 21 21 My 22 </span> 22 </span> 23 23 <span tal:content="titles/StudentStudyCourse" /> 24 24 </h3> 25 <br /> 25 <br /> 26 26 <table tal:define="sc python: info['course_doc']"> 27 27 <tr> 28 <td width="220px">Current Session:</td> 28 <td width="220px">Current Session:</td> 29 29 <td><span tal:content="python:context.portal_vocabularies.sessions.get(info['doc'].current_session)" /></td> 30 30 </tr> 31 31 <tr> 32 <td width="220px">Current Study Level:</td> 32 <td width="220px">Current Study Level:</td> 33 33 <td><span tal:content="python:context.portal_vocabularies.student_levels.get(info['doc'].current_level)" /></td> 34 34 </tr> 35 35 <tr> 36 <td width="220px">Current Verdict:</td> 36 <td width="220px">Current Verdict:</td> 37 37 <td><span tal:content="info/verdict" /></td> 38 38 </tr> 39 39 <tr> 40 <td width="220px">Previous Verdict:</td> 40 <td width="220px">Previous Verdict:</td> 41 41 <td><span tal:content="info/previous_verdict" /></td> 42 </tr> 42 </tr> 43 43 <span tal:define="f_id sc/faculty; 44 44 d_id sc/department; … … 49 49 > 50 50 <tr> 51 <td width="220px">Certificate:</td> 51 <td width="220px">Certificate:</td> 52 52 <td tal:content="c_title" /> 53 53 </tr> … … 61 61 </tr> 62 62 <tr> 63 <td>Department:</td> 63 <td>Department:</td> 64 64 <td><span tal:content="d_title" /></td> 65 65 </tr> 66 66 </span> 67 </table> 68 67 </table> 68 69 69 <form action="" method="post" class="group" onsubmit="return submit_once()" 70 70 tal:attributes="action info/action" … … 72 72 > 73 73 <span tal:condition="rows"> 74 75 <table class="contentListing" width="100%" summary="content layout" id="folder_content"> 74 75 <table class="contentListing" width="100%" summary="content layout" id="folder_content"> 76 76 <tr tal:repeat="row rows" 77 77 tal:attributes="class python:test(repeat['row'].even(), 'even ajaxtd', 'odd ajaxtd')"> 78 <td align="left" valign="middle" style="width: 5px;" 78 <td align="left" valign="middle" style="width: 5px;" 79 79 tal:condition="python:is_so"> 80 80 <input type="checkbox" name="ids:list" value="" id="" class="noborder" … … 83 83 tal:attributes="value id; 84 84 id python:'cb_' + id; 85 checked python:id in info['choosen_ids'];" 85 checked python:id in info['choosen_ids'];" 86 86 /> 87 87 </td> 88 88 <td><a href="view" 89 89 tal:attributes="href string:${row/url}"> 90 <strong tal:content="row/title" /></a> 90 <strong tal:content="row/title" /></a> 91 91 </td> 92 92 </tr> … … 108 108 class="destructive" i18n:attributes="value" 109 109 tal:attributes="onclick python:'return window.confirm(\'%s\')' % 110 (cpsmcat('description_confirm_delete'), )" 110 (cpsmcat('description_confirm_delete'), )" 111 111 /> 112 112 </td> … … 125 125 <td align="left" valign="top" rowspan="3"></td> 126 126 <td align="left" valign="top"> 127 <input type="submit" name="create_level" 128 class="destructive" 129 tal:attributes="value string: Register Courses for ${info/create_level_str}" 127 <input type="submit" name="create_level" 128 class="destructive" 129 tal:attributes="value string: Register Courses for ${info/create_level_str}" 130 130 /> 131 131 </td> 132 132 </tr> 133 133 </table> 134 </form> 135 134 </form> 135 136 136 <div tal:condition="info/missing_data"> 137 137 <font color='red'> -
WAeUP_SRP/trunk/skins/waeup_uniben/getPaymentsFolderInfo.py
r8315 r8391 123 123 row['is_requeryable_interswitch'] = "%s_%s" % (payment.category,payment.session_id) not in paid_fees and payment.type == 'online' #or str(member) in ('admin',) 124 124 row['is_requeryable_etranzact'] = "%s_%s" % (payment.category,payment.session_id) not in paid_fees and payment.type == 'etranzact' #or str(member) in ('admin',) 125 row['is_approvable'] = is_so and (row['is_requeryable_interswitch'] or row['is_requeryable_etranzact']) and payment.category == 'schoolfee' # does not make sense for maitenance125 row['is_approvable'] = is_so and (row['is_requeryable_interswitch'] or row['is_requeryable_etranzact']) 126 126 row['resp_desc'] = payment.resp_desc or 'Payment Process Interrupted' 127 127 row['trans_ref'] = payment.order_id
Note: See TracChangeset for help on using the changeset viewer.