- Timestamp:
- 4 Apr 2007, 06:31:52 (18 years ago)
- Location:
- WAeUP_SRP/branches/joachim-event-branch/skins/waeup_student
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/branches/joachim-event-branch/skins/waeup_student/change_password.py
r1596 r1669 4 4 5 5 """ 6 7 return 8 9 10 11 12 13 14 15 6 16 request = context.REQUEST 7 17 import DateTime,logging -
WAeUP_SRP/branches/joachim-event-branch/skins/waeup_student/clearance_edit.py
r1596 r1669 120 120 wftool.doActionFor(info['clear'],'open') 121 121 wftool.doActionFor(info['student'],'reject_clearance') 122 action = "/ contact_student_form"122 action = "/external_contact_student_form" 123 123 psm = "Student's clearance request has been rejected! Please fill and submit the form below!" 124 124 subject = "Clearance request rejected" -
WAeUP_SRP/branches/joachim-event-branch/skins/waeup_student/getSessionResults.py
r1596 r1669 101 101 #set_trace() 102 102 verdict_voc = context.portal_vocabularies.verdicts 103 verdict_code = student_from_cat. get('verdict',None)103 verdict_code = student_from_cat.verdict 104 104 if verdict_code: 105 105 info['verdict'] = verdict = verdict_voc.get(verdict_code,'N/A').upper() -
WAeUP_SRP/branches/joachim-event-branch/skins/waeup_student/getStudyLevelInfo.py
r1596 r1669 40 40 return 0.0 41 41 42 def cmp_semester(a,b): 43 if a['semester'] == b['semester']: 42 def cmp_semester_id(a,b): 43 s1 = "%(semester)s%(id)s" % a 44 s2 = "%(semester)s%(id)s" % b 45 if s1 == s2: 44 46 return 0 45 if a['semester'] > b['semester']:47 if s1 > s2: 46 48 return 1 47 49 return -1 … … 104 106 normal.append(d) 105 107 info['credits_total'] = credits_total 106 carry_overs.sort(cmp_semester )108 carry_overs.sort(cmp_semester_id) 107 109 info['carry_overs'] = carry_overs 108 normal.sort(cmp_semester )110 normal.sort(cmp_semester_id) 109 111 info['normal'] = normal 110 112 -
WAeUP_SRP/branches/joachim-event-branch/skins/waeup_student/layout_personal_view.pt
r1201 r1669 9 9 <td><span class="dlabel">Student ID</span>: 10 10 </td> 11 <td tal:condition="nothing">11 <td> 12 12 <span tal:replace="context/getStudentId" /> 13 13 </td> -
WAeUP_SRP/branches/joachim-event-branch/skins/waeup_student/statistics_new_view.pt
r1532 r1669 33 33 <th align="right">CR</th> 34 34 <th align="right">VC</th> 35 <th align="right">SFP </th>35 <th align="right">SFP+</th> 36 36 </tr> 37 37 <tr tal:repeat="d departments" … … 74 74 <tr><td>CR: </td> <td>Clearance requested</td></tr> 75 75 <tr><td>VC: </td> <td>Validated and cleared</td></tr> 76 <tr><td>SFP : </td> <td>School fee paid</td></tr>76 <tr><td>SFP+: </td> <td>School fee paid and further</td></tr> 77 77 </table> 78 78 </span> -
WAeUP_SRP/branches/joachim-event-branch/skins/waeup_student/study_course_view.pt
r1518 r1669 58 58 </table> 59 59 60 <form action="" method="post" class="group" 60 <form action="" method="post" class="group" onsubmit="return submit_once()" 61 61 tal:attributes="action info/action" 62 62 tal:define="rows python: info['items'];" … … 66 66 tal:attributes="class python:test(repeat['row'].even(), 'even ajaxtd', 'odd ajaxtd')"> 67 67 <td align="left" valign="middle" style="width: 5px;" 68 tal:condition="python: 0 andis_so">68 tal:condition="python:is_so"> 69 69 <input type="checkbox" name="ids:list" value="" id="" class="noborder" 70 70 tal:condition="is_so" … … 84 84 summary="contents of the folder" 85 85 class="folderButtons"> 86 <tr >86 <tr tal:condition="python: is_so and info['items']"> 87 87 <td align="left" valign="top" rowspan="3"></td> 88 88 <td align="left" valign="top"> 89 <span tal:condition="python:0 and is_so"> 90 <input type="button" value="button_select_all" class="context" 89 <input type="button" value="button_select_all" class="context" 91 90 onclick="someJavaScriptFunctionThatWillBeReplaced" 92 91 i18n:attributes="value" … … 94 93 % (cpsmcat('button_select_all'), cpsmcat('button_deselect_all'))" 95 94 /> 96 <input type="submit" name="folder_delete:method" value="button_delete" 97 class="destructive" i18n:attributes="value" 98 tal:attributes="onclick python:'return window.confirm(\'%s\')' % 99 (cpsmcat('description_confirm_delete'), )" 100 /> 101 </span> 95 <input type="submit" name="folder_delete:method" value="button_delete" 96 class="destructive" i18n:attributes="value" 97 tal:attributes="onclick python:'return window.confirm(\'%s\')' % 98 (cpsmcat('description_confirm_delete'), )" 99 /> 102 100 </td> 103 101 </tr> 104 102 </table> 105 103 </form> 106 <form action="" method="post" class="group" 104 <form action="" method="post" class="group" onsubmit="return submit_once()" 107 105 tal:attributes="action string:${context/absolute_url}/create_level" 108 106 tal:define="rows python: info['items'];"
Note: See TracChangeset for help on using the changeset viewer.