Changeset 1783 for WAeUP_SRP/trunk/skins
- Timestamp:
- 15 May 2007, 07:49:50 (18 years ago)
- Location:
- WAeUP_SRP/trunk/skins
- Files:
-
- 1 deleted
- 44 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_academics/academics_search_view.pt
r911 r1783 15 15 <metal:main fill-slot="main"> 16 16 <span tal:condition="not: is_so"> 17 < metal:block use-macro="here/error_not_found/macros/not_found" />17 <span tal:content="here/illegal_view" /> 18 18 </span> 19 19 <span tal:condition="is_so" -
WAeUP_SRP/trunk/skins/waeup_academics/academics_view.pt
r913 r1783 2 2 is_so context/isSectionOfficer;" 3 3 > 4 <metal:body use-macro="here/ waeup_content_master/macros/master">4 <metal:body use-macro="here/main_template/macros/master"> 5 5 <metal:block fill-slot="header"> 6 6 <a href="" tal:condition="nothing" -
WAeUP_SRP/trunk/skins/waeup_academics/certificate_view.pt
r913 r1783 2 2 is_so context/isSectionOfficer;" 3 3 > 4 <metal:body use-macro="here/ waeup_content_master/macros/master">4 <metal:body use-macro="here/main_template/macros/master"> 5 5 <metal:block fill-slot="header"> 6 6 <a href="" -
WAeUP_SRP/trunk/skins/waeup_academics/certificates_view.pt
r913 r1783 2 2 is_so context/isSectionOfficer;" 3 3 > 4 <metal:body use-macro="here/ waeup_content_master/macros/master">4 <metal:body use-macro="here/main_template/macros/master"> 5 5 <metal:block fill-slot="header"> 6 6 <a href="" -
WAeUP_SRP/trunk/skins/waeup_academics/courses_view.pt
r1366 r1783 1 1 <metal:html> 2 <metal:body use-macro="here/ waeup_content_master/macros/master">2 <metal:body use-macro="here/main_template/macros/master"> 3 3 <metal:block fill-slot="header" 4 4 tal:define="global info context/getCoursesInfo; -
WAeUP_SRP/trunk/skins/waeup_academics/department_view.pt
r913 r1783 2 2 is_so context/isSectionOfficer;" 3 3 > 4 <metal:body use-macro="here/ waeup_content_master/macros/master">4 <metal:body use-macro="here/main_template/macros/master"> 5 5 <metal:block fill-slot="header"> 6 6 <a href="" -
WAeUP_SRP/trunk/skins/waeup_academics/faculty_view.pt
r913 r1783 2 2 is_so context/isSectionOfficer;" 3 3 > 4 <metal:body use-macro="here/ waeup_content_master/macros/master">4 <metal:body use-macro="here/main_template/macros/master"> 5 5 <metal:block fill-slot="header"> 6 6 <a href="" -
WAeUP_SRP/trunk/skins/waeup_academics/getDocumentInfo.py
r913 r1783 18 18 19 19 info = {} 20 info['doc'] = context.getContent() 20 try: 21 info['doc'] = context.getContent() 22 except: 23 return None 21 24 return info -
WAeUP_SRP/trunk/skins/waeup_academics/level_view.pt
r1646 r1783 2 2 is_so context/isSectionOfficer;" 3 3 > 4 <metal:body use-macro="here/ waeup_content_master/macros/master">4 <metal:body use-macro="here/main_template/macros/master"> 5 5 <metal:block fill-slot="header"> 6 6 <a href="" -
WAeUP_SRP/trunk/skins/waeup_accommodation/acco_folder_view.pt
r1447 r1783 3 3 beds_generated options/beds_generated|nothing;" 4 4 > 5 <metal:body use-macro="here/ waeup_content_master/macros/master">5 <metal:body use-macro="here/main_template/macros/master"> 6 6 <metal:block fill-slot="header"> 7 7 <a href="" tal:condition="nothing" -
WAeUP_SRP/trunk/skins/waeup_accommodation/acco_hall_view.pt
r1275 r1783 1 1 <metal:html tal:define="info context/getAccoHallInfo"> 2 <metal:body use-macro="here/ waeup_content_master/macros/master">2 <metal:body use-macro="here/main_template/macros/master"> 3 3 <metal:block fill-slot="header"> 4 4 <a href="" -
WAeUP_SRP/trunk/skins/waeup_default/import_form.pt
r1771 r1783 7 7 > 8 8 <metal:block define-macro="edit_form"> 9 <metal:block use-macro="here/ waeup_content_master/macros/master">9 <metal:block use-macro="here/main_template/macros/master"> 10 10 <metal:block fill-slot="main"> 11 11 <h3>Import Data!</h3> -
WAeUP_SRP/trunk/skins/waeup_default/srp_anonymous_view.pt
r1182 r1783 40 40 <li> Print your Sessional Result Slip (it includes your new Student Id for further logins), </li> 41 41 <li> edit your personal data record,</li> 42 <li> book your accommodation.</li> 42 <li> book your accommodation,</li> 43 <li> pay your school fee,</li> 44 <li> register your courses.</li> 43 45 </ul> 44 46 47 <br /> 48 <p>If you have to register for previous sessions, click "Previous Sessions" 49 instead of "View Sess. Results".</p> 50 45 51 <br /> 46 52 … … 89 95 <strong><a target="_blank" href="http://files.saoas.org/Procedure_for_clearance.pdf">UME</a></strong>, 90 96 <strong><a target="_blank" href="http://files.saoas.org/Procedure_for_clearance_Direct.pdf">DE</a></strong> (1 page). 91 After being cleared you are eligible for booking your accommodation on campus. 97 After being cleared you are eligible for booking your accommodation on campus, 98 you must pay your school fee and register your courses online. 92 99 </p> 93 100 <br /> -
WAeUP_SRP/trunk/skins/waeup_default/waeup_document_view.pt
r1219 r1783 1 <metal:body use-macro="here/ waeup_content_master/macros/master">1 <metal:body use-macro="here/main_template/macros/master"> 2 2 <metal:block fill-slot="header" 3 3 tal:define="s_name context/getStudentNameInContext; -
WAeUP_SRP/trunk/skins/waeup_default/waeup_edit_form.pt
r1737 r1783 9 9 is_allowed context/isSectionOfficer; 10 10 metadata metadata|nothing; 11 template here/ waeup_content_master/macros/master;11 template here/main_template/macros/master; 12 12 "> 13 13 <metal:block define-macro="edit_form"> … … 16 16 <metal:block fill-slot="header"> 17 17 <span tal:condition="not: is_allowed"> 18 < metal:block use-macro="here/error_not_found/macros/not_found" />18 <span tal:content="here/illegal_view" /> 19 19 </span> 20 20 <span tal:condition="is_allowed"> -
WAeUP_SRP/trunk/skins/waeup_design/main_template.pt
r1756 r1783 3 3 emptybody emptybody|request/emptybody|nothing; 4 4 mtool here/portal_membership; 5 can_raise python:mtool.assertViewable(here);5 6 6 utool nocall:here/portal_url; 7 7 atool here/portal_actions; … … 81 81 <table summary="Logo Block" 82 82 style="margin-left: auto; margin-right: auto; width: 100%;" 83 class="shapeNoBorder colorTransparent" cellpadding="0" 83 class="shapeNoBorder colorTransparent" cellpadding="0" 84 84 cellspacing="0"> 85 85 <tbody> 86 86 <tr> 87 <td style="width: 20px;" valign="top"></td> 88 <td valign="top" style="width: 80px; padding: 0.5em; text-align: right;"> 89 <img tal:attributes="src string:${base_url}uniben_mark.jpg" alt="Logo" 90 height="84" width="82" /> 91 </td> 92 <td style="padding: 2em 0em 0em 0em; text-align: left;" valign="top"> 93 <img tal:attributes="src string:${base_url}uniben_logo.gif" 94 alt="Logo" height="51" width="234" /> 95 </td> 96 <td style="width: 20px;" valign="top"></td> 87 <td style="width: 20px;"></td> 88 <td valign="top" style="width: 110px; padding: 10px 10px 0 0; text-align: right;"> 89 <img tal:attributes="src string:${base_url}uniben_mark.jpg" alt="Logo" /> 90 </td> 91 <td style="padding: 27px 0 0 0; text-align: left;" valign="top"> 92 <img tal:attributes="src string:${base_url}uniben_logo.gif" alt="Logo" /> 93 </td> 94 <td style="width: 20px;"></td> 97 95 </tr> 98 96 </tbody> -
WAeUP_SRP/trunk/skins/waeup_design/slip_template.pt
r1745 r1783 3 3 emptybody emptybody|request/emptybody|nothing; 4 4 mtool here/portal_membership; 5 can_raise python:mtool.assertViewable(here); 5 6 6 utool nocall:here/portal_url; 7 7 atool here/portal_actions; -
WAeUP_SRP/trunk/skins/waeup_epayment/getPaymentsFolderInfo.py
r1758 r1783 12 12 Info for the PaymentsFolder 13 13 """ 14 15 mtool = context.portal_membership 16 if mtool.isAnonymousUser(): 17 return None 18 19 14 20 #import logging 15 21 #logger = logging.getLogger('Skins.getPaymentsFolderInfo') -
WAeUP_SRP/trunk/skins/waeup_epayment/payment_receipt.pt
r1737 r1783 3 3 tal:define="info context/getStudentBaseInfo; 4 4 info_doc context/getDocumentInfo"> 5 <span tal:condition="not: info"> 5 6 <span tal:condition="python: not info or not info_doc"> 6 7 <span tal:content="here/illegal_view" /> 7 8 </span> 8 <span tal:condition="info"> 9 10 <span tal:condition="python: info and info_doc"> 9 11 10 12 <metal:block tal:condition="python:info_doc['doc'].resp_code in ('00','AP','IP')"> -
WAeUP_SRP/trunk/skins/waeup_epayment/payments_view.pt
r1758 r1783 1 <metal:body use-macro="here/waeup_content_master/macros/master"> 2 <metal:block fill-slot="header" 3 tal:define="is_student context/isStudent; 4 s_name context/getStudentNameInContext;"> 1 <metal:body use-macro="here/main_template/macros/master"> 2 <metal:main fill-slot="main" 3 tal:define="info context/getPaymentsFolderInfo;"> 4 5 <span tal:condition="not: info"> 6 <span tal:content="here/illegal_view" /> 7 </span> 8 <span tal:condition="info"> 9 <span tal:define= " rows info/payments; 10 review_state context/getStudentReviewState; 11 is_student context/isStudent; 12 s_name context/getStudentNameInContext;"> 5 13 <a href="" 6 14 tal:attributes="href string:${context/aq_parent/absolute_url}"> … … 18 26 </h3> 19 27 <br /> 20 </metal:block> 21 <metal:main fill-slot="main" 22 tal:define="info context/getPaymentsFolderInfo; 23 rows info/payments; 24 review_state context/getStudentReviewState"> 28 25 29 26 30 <table class="registration" width="100%"> … … 62 66 /> 63 67 64 65 66 68 67 69 </form> … … 79 81 /> 80 82 </form> 81 82 83 83 </div> 84 85 </span> 86 </span> 84 87 </metal:main> 85 88 </metal:body> -
WAeUP_SRP/trunk/skins/waeup_student/accommodation_slip.pt
r1737 r1783 4 4 info_app context/getApplicationInfo"> 5 5 <span tal:condition="python: not info_acco or not info_acco['acco']"> 6 < metal:block use-macro="here/error_not_found/macros/not_found" />6 <span tal:content="here/illegal_view" /> 7 7 </span> 8 8 <span tal:condition="python: info_acco and info_acco['acco']"> -
WAeUP_SRP/trunk/skins/waeup_student/accommodation_view.pt
r1302 r1783 1 <metal:body use-macro="here/ waeup_content_master/macros/master">1 <metal:body use-macro="here/main_template/macros/master"> 2 2 <metal:main fill-slot="main" 3 3 tal:define="info context/getAccommodationInfo"> 4 4 <span tal:condition="python: not info or not info['acco']"> 5 < metal:block use-macro="here/error_not_found/macros/not_found" />5 <span tal:content="here/illegal_view" /> 6 6 </span> 7 7 <span tal:condition="python: info and info['acco']"> 8 8 9 <div style="text-align: right"> 9 10 <a href="" target="slip" tal:attributes="href string:accommodation_slip" … … 13 14 </a> 14 15 </div> 16 <a href="" 17 tal:attributes="href string:${here/academicsParent}"> 18 <img tal:attributes="src string:${here/portal_url}/arrow_up.gif"/> 19 Up one level 20 </a> 15 21 <h3>My Accommodation Record</h3> 16 22 <br /> -
WAeUP_SRP/trunk/skins/waeup_student/admission_form.pt
r1096 r1783 4 4 </span> 5 5 <metal:block tal:condition="info"> 6 <metal:body use-macro="here/ waeup_content_master/macros/master">6 <metal:body use-macro="here/main_template/macros/master"> 7 7 <metal:main fill-slot="main"> 8 8 <span tal:condition="not: info"> 9 < metal:block use-macro="here/error_not_found/macros/not_found" />9 <span tal:content="here/illegal_view" /> 10 10 </span> 11 11 <span tal:condition="info" … … 21 21 </a> 22 22 </div> 23 23 24 24 25 25 <h3>This is to inform you that you have been provisionally admitted into University of Benin as follows: -
WAeUP_SRP/trunk/skins/waeup_student/application_edit_form.pt
r1167 r1783 15 15 metadata nothing; 16 16 "> 17 <metal:body use-macro="here/ waeup_content_master/macros/master">17 <metal:body use-macro="here/main_template/macros/master"> 18 18 <metal:block fill-slot="header"> 19 <a href=""20 tal:attributes="href string:${here/academicsParent}">21 <img tal:attributes="src string:${here/portal_url}/arrow_up.gif"/>22 Up one level23 </a>24 19 <h3>Update Your Application Data!</h3> 25 20 <br /> -
WAeUP_SRP/trunk/skins/waeup_student/application_slip.pt
r1737 r1783 3 3 tal:define="info context/getApplicationInfo"> 4 4 <span tal:condition="not: info"> 5 < metal:block use-macro="here/error_not_found/macros/not_found" />5 <span tal:content="here/illegal_view" />w 6 6 </span> 7 <span tal:condition="info" 8 tal:define="review_state info/review_state"> 7 <span tal:condition="info"> 9 8 10 9 <h3>Application Slip</h3> -
WAeUP_SRP/trunk/skins/waeup_student/application_view.pt
r1292 r1783 1 <metal:body use-macro="here/ waeup_content_master/macros/master">1 <metal:body use-macro="here/main_template/macros/master"> 2 2 <metal:main fill-slot="main" 3 3 tal:define="info context/getApplicationInfo"> 4 4 <span tal:condition="not: info"> 5 < metal:block use-macro="here/error_not_found/macros/not_found" />5 <span tal:content="here/illegal_view" /> 6 6 </span> 7 <span tal:condition="info" 8 tal:define="review_state info/review_state"> 7 <span tal:condition="info"> 9 8 10 <div style="text-align: right" 9 <div style="text-align: right" tal:define="review_state info/review_state" 11 10 tal:condition="python:review_state not in ('created','application_pin_entered',)"> 12 11 <a href="" target="slip" tal:attributes="href string:application_slip" … … 16 15 </a> 17 16 18 </div> 19 17 </div> 18 <a href="" 19 tal:attributes="href string:${here/academicsParent}"> 20 <img tal:attributes="src string:${here/portal_url}/arrow_up.gif"/> 21 Up one level 22 </a> 20 23 <h3>My Application Record</h3> 21 24 <br /> -
WAeUP_SRP/trunk/skins/waeup_student/clearance_view.pt
r1275 r1783 1 <metal:body use-macro="here/ waeup_content_master/macros/master">1 <metal:body use-macro="here/main_template/macros/master"> 2 2 <metal:main fill-slot="main" 3 3 tal:define="info context/getClearanceInfo; … … 6 6 "> 7 7 <span tal:condition="not: info"> 8 < metal:block use-macro="here/error_not_found/macros/not_found" />8 <span tal:content="here/illegal_view" /> 9 9 </span> 10 10 <span tal:condition="info" … … 18 18 Clearance/Eligibility Slip 19 19 </a> 20 21 20 </div> 22 21 22 <a href="" 23 tal:attributes="href string:${here/academicsParent}"> 24 <img tal:attributes="src string:${here/portal_url}/arrow_up.gif"/> 25 Up one level 26 </a> 27 23 28 <h3> 24 29 <span tal:condition="python:is_so and info"> -
WAeUP_SRP/trunk/skins/waeup_student/contact_student_form.pt
r1737 r1783 1 <metal:definetemplate tal:define="template here/ waeup_content_master/macros/master">1 <metal:definetemplate tal:define="template here/main_template/macros/master"> 2 2 <metal:block define-macro="contact_student_form"> 3 3 <metal:body use-macro=template> -
WAeUP_SRP/trunk/skins/waeup_student/firsttime_login_form.pt
r1782 r1783 1 <tal:block define="rendered_main options/rendered; 2 portal_status_message options/psm; 3 data_storage options/ds; 4 edition python:1;" 5 > 6 <metal:block define-macro="edit_form"> 7 <metal:block use-macro="here/content_lib_master/macros/master"> 8 <metal:block fill-slot="header" 9 tal:define="creation creation|nothing; 10 edition edition|nothing; 11 metadata metadata|nothing" 12 > 13 </metal:block> 14 <metal:block fill-slot="main"> 15 <h3>First-time login! </h3> 16 <br /> 17 <div tal:replace="structure rendered_main" /> 18 </metal:block> 19 <metal:block fill-slot="sub"> 20 </metal:block> 21 </metal:block> 1 <metal:block use-macro="here/main_template/macros/master"> 2 <metal:block fill-slot="main" 3 tal:define="rendered_main options/rendered; 4 portal_status_message options/psm; 5 data_storage options/ds; 6 edition python:1;"> 7 <h3>Data not yet imported!</h3> 22 8 </metal:block> 23 </tal:block> 9 10 <metal:block fill-slot="mainx" tal:condition="python:0" 11 tal:define="rendered_main options/rendered; 12 portal_status_message options/psm; 13 data_storage options/ds; 14 edition python:1;"> 15 <h3>Search Your Record! </h3> 16 <br /> 17 <div tal:replace="structure rendered_main" /> 18 </metal:block> 19 </metal:block> 20 -
WAeUP_SRP/trunk/skins/waeup_student/getStudyCourseInfo.py
r1695 r1783 12 12 return Info about the Students StudyCourse 13 13 """ 14 15 mtool = context.portal_membership 16 if mtool.isAnonymousUser(): 17 return None 18 14 19 try: 15 20 from Products.zdb import set_trace -
WAeUP_SRP/trunk/skins/waeup_student/getStudyLevelInfo.py
r1641 r1783 12 12 return Info about the Studylevel 13 13 """ 14 15 wf = context.portal_workflow 16 mtool = context.portal_membership 17 if mtool.isAnonymousUser(): 18 return None 19 14 20 try: 15 21 from Products.zdb import set_trace … … 17 23 def set_trace(): 18 24 pass 25 26 19 27 from Products.AdvancedQuery import Eq, Between, Le,In 20 28 aq_portal = context.portal_catalog.evalAdvancedQuery … … 49 57 return -1 50 58 51 52 wf = context.portal_workflow53 mtool = context.portal_membership54 59 student_id = context.getStudentId() 55 56 57 60 58 61 info = {} -
WAeUP_SRP/trunk/skins/waeup_student/inter_faculty_transfer_1.pt
r1737 r1783 5 5 6 6 <span tal:condition="python: not info or not info.get('paid',False)"> 7 < metal:block use-macro="here/error_not_found/macros/not_found" />7 <span tal:content="here/illegal_view" /> 8 8 </span> 9 9 <span tal:condition="info/paid|nothing"> -
WAeUP_SRP/trunk/skins/waeup_student/inter_faculty_transfer_2.pt
r1737 r1783 4 4 5 5 <span tal:condition="python: not info or not info.get('paid',False)"> 6 < metal:block use-macro="here/error_not_found/macros/not_found" />6 <span tal:content="here/illegal_view" /> 7 7 </span> 8 8 <span tal:condition="info/paid|nothing"> -
WAeUP_SRP/trunk/skins/waeup_student/inter_faculty_transfer_3.pt
r1737 r1783 4 4 5 5 <span tal:condition="python: not info or not info.get('paid',False)"> 6 < metal:block use-macro="here/error_not_found/macros/not_found" />6 <span tal:content="here/illegal_view" /> 7 7 </span> 8 8 <span tal:condition="info/paid|nothing"> -
WAeUP_SRP/trunk/skins/waeup_student/intra_faculty_transfer_1.pt
r1737 r1783 5 5 6 6 <span tal:condition="python: not info or not info.get('paid',False)"> 7 < metal:block use-macro="here/error_not_found/macros/not_found" />7 <span tal:content="here/illegal_view" /> 8 8 </span> 9 9 <span tal:condition="info/paid|nothing"> -
WAeUP_SRP/trunk/skins/waeup_student/intra_faculty_transfer_2.pt
r1737 r1783 4 4 5 5 <span tal:condition="python: not info or not info.get('paid',False)"> 6 < metal:block use-macro="here/error_not_found/macros/not_found" />6 <span tal:content="here/illegal_view" /> 7 7 </span> 8 8 <span tal:condition="info/paid|nothing"> -
WAeUP_SRP/trunk/skins/waeup_student/intra_faculty_transfer_3.pt
r1737 r1783 4 4 5 5 <span tal:condition="python: not info or not info.get('paid',False)"> 6 < metal:block use-macro="here/error_not_found/macros/not_found" />6 <span tal:content="here/illegal_view" /> 7 7 </span> 8 8 <span tal:condition="info/paid|nothing"> -
WAeUP_SRP/trunk/skins/waeup_student/objection_raised_form.pt
r1161 r1783 5 5 </span> 6 6 <metal:block tal:condition="info"> 7 <metal:body use-macro="here/ waeup_content_master/macros/master">7 <metal:body use-macro="here/main_template/macros/master"> 8 8 <metal:main fill-slot="main"> 9 9 -
WAeUP_SRP/trunk/skins/waeup_student/personal_edit_form.pt
r1737 r1783 1 1 <metal:body use-macro="here/main_template/macros/master"> 2 3 2 4 3 <metal:main fill-slot="main" -
WAeUP_SRP/trunk/skins/waeup_student/personal_view.pt
r1292 r1783 1 <metal:body use-macro="here/ waeup_content_master/macros/master">1 <metal:body use-macro="here/main_template/macros/master"> 2 2 <metal:main fill-slot="main" 3 3 tal:define="info context/getPersonalInfo"> 4 4 <span tal:condition="not: info"> 5 < metal:block use-macro="here/error_not_found/macros/not_found" />5 <span tal:content="here/illegal_view" /> 6 6 </span> 7 <span tal:condition="info" 8 tal:define="review_state info/review_state"> 7 <span tal:condition="info"> 8 <a href="" 9 tal:attributes="href string:${here/academicsParent}"> 10 <img tal:attributes="src string:${here/portal_url}/arrow_up.gif"/> 11 Up one level 12 </a> 9 13 <h3>My Personal Record</h3> 10 14 <br /> -
WAeUP_SRP/trunk/skins/waeup_student/pume_view.pt
r911 r1783 1 1 <metal:html tal:define="info context/getStudentInfo"> 2 <metal:body use-macro="here/ waeup_content_master/macros/master">2 <metal:body use-macro="here/main_template/macros/master"> 3 3 <metal:main fill-slot="main"> 4 4 <span tal:condition="not: info"> 5 < metal:block use-macro="here/error_not_found/macros/not_found" />5 <span tal:content="here/illegal_view" /> 6 6 </span> 7 7 <span tal:condition="info" -
WAeUP_SRP/trunk/skins/waeup_student/request_transfer_form.pt
r1340 r1783 1 <metal:block use-macro="here/ waeup_content_master/macros/master">1 <metal:block use-macro="here/main_template/macros/master"> 2 2 <metal:main fill-slot="header" /> 3 3 <metal:main fill-slot="main" -
WAeUP_SRP/trunk/skins/waeup_student/study_course_view.pt
r1756 r1783 1 <metal:html> 2 <metal:body use-macro="here/waeup_content_master/macros/master"> 3 <metal:block fill-slot="header" 4 tal:define="global info context/getStudyCourseInfo; 5 global create_level info/create_level|nothing; 6 global is_so info/is_so; 7 " 8 > 9 <a href="" 10 tal:attributes="href string:${here/academicsParent}"> 11 <img tal:attributes="src string:${here/portal_url}/arrow_up.gif"/> 12 Up one level 13 </a> 14 <h3> 15 <span tal:condition="python:is_so and info"> 16 <span tal:content="info/student/name" />: 17 </span> 18 <span tal:content="here/title_or_id" /> 19 </h3> 20 <br /> 21 </metal:block> 22 <metal:main fill-slot="main"> 23 <table tal:define="sc python: info['course_doc']"> 1 <metal:body use-macro="here/main_template/macros/master"> 2 <metal:main fill-slot="main" 3 tal:define="global info context/getStudyCourseInfo;"> 4 5 <span tal:condition="not: info"> 6 <span tal:content="here/illegal_view" /> 7 </span> 8 <span tal:condition="info"> 9 <span tal:define="create_level info/create_level|nothing; 10 is_so info/is_so;"> 11 <a href="" 12 tal:attributes="href string:${here/academicsParent}"> 13 <img tal:attributes="src string:${here/portal_url}/arrow_up.gif"/> 14 Up one level 15 </a> 16 <h3> 17 <span tal:condition="python:is_so and info"> 18 <span tal:content="info/student/name" />: 19 </span> 20 <span tal:content="here/title_or_id" /> 21 </h3> 22 <br /> 23 24 <table tal:define="sc python: info['course_doc']"> 25 <tr> 26 <td width="220px">Certificate Code:</td> 27 <td><span tal:content="info/doc/study_course" /></td> 28 </tr> 29 <tr> 30 <td width="220px">Current Session:</td> 31 <td><span tal:content="python:context.portal_vocabularies.sessions.get(info['doc'].current_session)" /></td> 32 </tr> 33 <tr> 34 <td width="220px">Current Study Level:</td> 35 <td><span tal:content="python:context.portal_vocabularies.courselevel.get(info['doc'].current_level)" /></td> 36 </tr> 37 <tr> 38 <td width="220px">Current Study Mode:</td> 39 <td><span tal:content="python:context.portal_vocabularies.entry_modes.get(info['doc'].current_mode)" /></td> 40 </tr> 41 <tr> 42 <td width="220px">Current Verdict:</td> 43 <td><span tal:content="info/verdict" /></td> 44 </tr> 45 <tr> 46 <td width="220px">Certificate:</td> 47 <td><span tal:content="sc/title" /></td> 48 </tr> 49 <tr> 50 <td>Certificate Id:</td> 51 <td tal:content="sc/study_course" /> 52 </tr> 53 <span tal:define="f_id sc/faculty; 54 d_id sc/department; 55 f_title context/academics/?f_id/Title|string:Faculty not yet in Prospectus; 56 d_title context/academics/?f_id/?d_id/Title|string:Department not yet in Prospectus" 57 > 58 <tr> 59 <td>Faculty:</td> 60 <td tal:content="f_title" /> 61 </tr> 62 <tr> 63 <td>Department:</td> 64 <td><span tal:content="d_title" /></td> 65 </tr> 66 </span> 67 </table> 68 69 <form action="" method="post" class="group" onsubmit="return submit_once()" 70 tal:attributes="action info/action" 71 tal:define="rows python: info['items'];" 72 > 73 <table tal:condition="python: 1" class="contentListing" width="100%" summary="content layout" id="folder_content"> 74 <tr tal:repeat="row rows" 75 tal:attributes="class python:test(repeat['row'].even(), 'even ajaxtd', 'odd ajaxtd')"> 76 <td align="left" valign="middle" style="width: 5px;" 77 tal:condition="python:is_so"> 78 <input type="checkbox" name="ids:list" value="" id="" class="noborder" 79 tal:condition="is_so" 80 tal:define="id row/id" 81 tal:attributes="value id; 82 id python:'cb_' + id; 83 checked python:id in info['choosen_ids'];" 84 /> 85 </td> 86 <td><a href="view" 87 tal:attributes="href string:${row/url}"> 88 <strong tal:content="row/title" /></a> 89 </td> 90 </tr> 91 </table> 92 <table width="100%" cellspacing="0" cellpadding="2" 93 summary="contents of the folder" 94 class="folderButtons"> 95 <tr tal:condition="python: is_so and info['items']"> 96 <td align="left" valign="top" rowspan="3"></td> 97 <td align="left" valign="top"> 98 <input type="button" value="button_select_all" class="context" 99 onclick="someJavaScriptFunctionThatWillBeReplaced" 100 i18n:attributes="value" 101 tal:attributes="onclick python:'toggleSelect(this, \'%s\', \'%s\')' 102 % (cpsmcat('button_select_all'), cpsmcat('button_deselect_all'))" 103 /> 104 <input type="submit" name="folder_delete:method" value="button_delete" 105 class="destructive" i18n:attributes="value" 106 tal:attributes="onclick python:'return window.confirm(\'%s\')' % 107 (cpsmcat('description_confirm_delete'), )" 108 /> 109 </td> 110 </tr> 111 </table> 112 </form> 113 <form action="" method="post" class="group" onsubmit="return submit_once()" 114 tal:attributes="action string:${context/absolute_url}/create_level" 115 tal:define="rows python: info['items'];" 116 tal:condition="create_level" 117 > 118 <table width="100%" cellspacing="0" cellpadding="2" 119 summary="contents of the folder" 120 class="folderButtons"> 24 121 <tr> 25 <td width="220px">Certificate Code:</td> 26 <td><span tal:content="info/doc/study_course" /></td> 122 <td align="left" valign="top" rowspan="3"></td> 123 <td align="left" valign="top"> 124 <input type="submit" name="create_level" 125 class="destructive" 126 tal:attributes="onclick python:'return window.confirm(\'Do you really want to register for Level %s?\')' % create_level; 127 value string: Register Courses for Level ${create_level}" 128 /> 129 <font color="red"> 130 <br /><br /> 131 Creating the course list may take several minutes. Please be patient, don't click twice! 132 </font> 133 </td> 27 134 </tr> 28 <tr> 29 <td width="220px">Current Session:</td> 30 <td><span tal:content="python:context.portal_vocabularies.sessions.get(info['doc'].current_session)" /></td> 31 </tr> 32 <tr> 33 <td width="220px">Current Study Level:</td> 34 <td><span tal:content="python:context.portal_vocabularies.courselevel.get(info['doc'].current_level)" /></td> 35 </tr> 36 <tr> 37 <td width="220px">Current Study Mode:</td> 38 <td><span tal:content="python:context.portal_vocabularies.entry_modes.get(info['doc'].current_mode)" /></td> 39 </tr> 40 <tr> 41 <td width="220px">Current Verdict:</td> 42 <td><span tal:content="info/verdict" /></td> 43 </tr> 44 <tr> 45 <td width="220px">Certificate:</td> 46 <td><span tal:content="sc/title" /></td> 47 </tr> 48 <tr> 49 <td>Certificate Id:</td> 50 <td tal:content="sc/study_course" /> 51 </tr> 52 <span tal:define="f_id sc/faculty; 53 d_id sc/department; 54 f_title context/academics/?f_id/Title|string:Faculty not yet in Prospectus; 55 d_title context/academics/?f_id/?d_id/Title|string:Department not yet in Prospectus" 56 > 57 <tr> 58 <td>Faculty:</td> 59 <td tal:content="f_title" /> 60 </tr> 61 <tr> 62 <td>Department:</td> 63 <td><span tal:content="d_title" /></td> 64 </tr> 65 </span> 66 </table> 67 68 <form action="" method="post" class="group" onsubmit="return submit_once()" 69 tal:attributes="action info/action" 70 tal:define="rows python: info['items'];" 71 > 72 <table tal:condition="python: 1" class="contentListing" width="100%" summary="content layout" id="folder_content"> 73 <tr tal:repeat="row rows" 74 tal:attributes="class python:test(repeat['row'].even(), 'even ajaxtd', 'odd ajaxtd')"> 75 <td align="left" valign="middle" style="width: 5px;" 76 tal:condition="python:is_so"> 77 <input type="checkbox" name="ids:list" value="" id="" class="noborder" 78 tal:condition="is_so" 79 tal:define="id row/id" 80 tal:attributes="value id; 81 id python:'cb_' + id; 82 checked python:id in info['choosen_ids'];" 83 /> 84 </td> 85 <td><a href="view" 86 tal:attributes="href string:${row/url}"> 87 <strong tal:content="row/title" /></a> 88 </td> 89 </tr> 90 </table> 91 <table width="100%" cellspacing="0" cellpadding="2" 92 summary="contents of the folder" 93 class="folderButtons"> 94 <tr tal:condition="python: is_so and info['items']"> 95 <td align="left" valign="top" rowspan="3"></td> 96 <td align="left" valign="top"> 97 <input type="button" value="button_select_all" class="context" 98 onclick="someJavaScriptFunctionThatWillBeReplaced" 99 i18n:attributes="value" 100 tal:attributes="onclick python:'toggleSelect(this, \'%s\', \'%s\')' 101 % (cpsmcat('button_select_all'), cpsmcat('button_deselect_all'))" 102 /> 103 <input type="submit" name="folder_delete:method" value="button_delete" 104 class="destructive" i18n:attributes="value" 105 tal:attributes="onclick python:'return window.confirm(\'%s\')' % 106 (cpsmcat('description_confirm_delete'), )" 107 /> 108 </td> 109 </tr> 110 </table> 111 </form> 112 <form action="" method="post" class="group" onsubmit="return submit_once()" 113 tal:attributes="action string:${context/absolute_url}/create_level" 114 tal:define="rows python: info['items'];" 115 tal:condition="create_level" 116 > 117 <table width="100%" cellspacing="0" cellpadding="2" 118 summary="contents of the folder" 119 class="folderButtons"> 120 <tr> 121 <td align="left" valign="top" rowspan="3"></td> 122 <td align="left" valign="top"> 123 <input type="submit" name="create_level" 124 class="destructive" 125 tal:attributes="onclick python:'return window.confirm(\'Do you really want to register for Level %s?\')' % create_level; 126 value string: Register Courses for Level ${create_level}" 127 /> 128 <font color="red"> 129 <br /><br /> 130 Creating the course list may take several minutes. Please be patient, don't click twice! 131 </font> 132 </td> 133 </tr> 134 </table> 135 </form> 136 </metal:main> 137 138 </metal:body> 139 </metal:html> 135 </table> 136 </form> 137 138 </span> 139 </span> 140 </metal:main> 141 </metal:body> 142 -
WAeUP_SRP/trunk/skins/waeup_student/study_level_view.pt
r1656 r1783 1 <metal:html> 2 <metal:body use-macro="here/waeup_content_master/macros/master"> 3 <metal:block fill-slot="header" 4 tal:define="global info context/getStudyLevelInfo; 5 global is_so context/isSectionOfficer; 6 global is_ca info/is_ca; 7 global show_check_boxes info/show_check_boxes; 8 global is_student info/is_student; 9 global status_info info/status_info; 10 global review_state info/review_state; 11 global view_only info/view_only"> 12 <a href="" 13 tal:attributes="href string:${here/academicsParent}"> 14 <img tal:attributes="src string:${here/portal_url}/arrow_up.gif"/> 15 Up one level 1 <metal:body use-macro="here/main_template/macros/master"> 2 3 <metal:main fill-slot="main" 4 tal:define="info context/getStudyLevelInfo;"> 5 6 <span tal:condition="not: info"> 7 <span tal:content="here/illegal_view" /> 8 </span> 9 <span tal:condition="info"> 10 <span tal:define= "is_so context/isSectionOfficer; 11 is_ca info/is_ca; 12 show_check_boxes info/show_check_boxes; 13 is_student info/is_student; 14 status_info info/status_info; 15 review_state info/review_state; 16 view_only info/view_only"> 17 18 19 <a href="" 20 tal:attributes="href string:${here/academicsParent}"> 21 <img tal:attributes="src string:${here/portal_url}/arrow_up.gif"/> 22 Up one level 23 </a> 24 <div style="text-align: right" 25 tal:condition="python:review_state == 'courses_validated'"> 26 <a href="" target="slip" tal:attributes="href string:course_registration_slip" 27 onclick="javascript:window.open('','slip','width=600, height=700, directories=no, toolbar=no, location=no, menubar=yes, scrollbars=yes, status=no, resizable=no, dependent=no')"> 28 <img tal:attributes="src string:${here/portal_url}/actionicon_print.png" /> 29 Course Registration Slip 16 30 </a> 17 <div style="text-align: right" 18 tal:condition="python:review_state == 'courses_validated'"> 19 <a href="" target="slip" tal:attributes="href string:course_registration_slip" 20 onclick="javascript:window.open('','slip','width=600, height=700, directories=no, toolbar=no, location=no, menubar=yes, scrollbars=yes, status=no, resizable=no, dependent=no')"> 21 <img tal:attributes="src string:${here/portal_url}/actionicon_print.png" /> 22 Course Registration Slip 23 </a> 24 25 </div> 26 27 <h3> 28 <span tal:condition="python: is_so or is_ca"> 29 <span tal:content="info/student/name" />: 30 </span> 31 <span tal:condition="is_student">My </span> 32 33 Course Registration Form for <span tal:content="here/title_or_id" /> 34 </h3> 35 36 </metal:block> 37 <metal:main fill-slot="main" tal:condition="python:1"> 38 <form action="." method="post" class="group" onsubmit="return submit_once()"> 39 <span tal:condition="info/carry_overs" tal:omit-tag=""> 40 <h4>Carryover Courses</h4> 41 <br /> 42 <table tal:condition="python: 1" class="contentListing" width="100%" summary="content layout" id="folder_content"> 43 <tr tal:repeat="row info/carry_overs" 44 tal:attributes="class python:test(repeat['row'].even(), 'even ajaxtd', 'odd ajaxtd')"> 45 <td align="left" valign="middle" style="width: 5px;" 46 tal:condition="show_check_boxes"> 47 <input type="checkbox" name="ids:list" value="" id="" class="noborder" 48 tal:define="id row/id" 49 tal:attributes="value id; 50 id python:'cb_' + id; 51 checked python:id in info['choosen_ids'];" 52 /> 53 </td> 54 <td width="78%" tal:content="row/title"></td> 55 <td align="center" width="10%" tal:content="row/code"></td> 56 <td align="center" width="2%">S<span tal:content="row/semester" /></td> 57 <td align="center" width="2%" tal:content="row/credits"></td> 58 <td align="center" width="8%" tal:content="row/grade|string:"></td> 59 </tr> 60 </table> 61 </span> 62 <br /> 63 <h4>Session Courses</h4> 64 <br /> 65 <div class="" tal:condition="not: info/normal"> 66 <font color="red">Your faculty has not yet provided the list of courses for your certificate. Please contact your faculty!</font> 67 <br /><br /> 31 68 32 </div> 69 <table class="contentListing" width="100%" id="folder_content" 70 tal:condition="info/normal"> 71 <tr tal:repeat="row info/normal" 72 tal:attributes="class python:test(repeat['row'].even(), 'even ajaxtd', 'odd ajaxtd')"> 73 <td align="left" valign="middle" style="width: 5px;" 74 tal:condition="show_check_boxes"> 75 <input type="checkbox" name="ids:list" value="" id="" class="noborder" 76 tal:define="id row/id" 77 tal:attributes="value id; 78 id python:'cb_' + id; 79 checked python:id in info['choosen_ids'];" 80 /> 81 </td> 82 <td width="78%" tal:content="row/title"></td> 83 <td align="center" width="10%" tal:content="row/code"></td> 84 <td align="center" width="2%">S<span tal:content="row/semester" /></td> 85 <td align="center" width="2%" tal:content="row/credits"></td> 86 <td align="center" width="8%" tal:content="row/coe|nothing"></td> 87 </tr> 88 <tr> 89 <td tal:condition="show_check_boxes" colspan="1"></td> 90 <td colspan="1"></td> 91 <th colspan="2">Total Credits:</th> 92 <td align="center" width="2%" tal:content="info/credits_total"></td> 93 </tr> 94 </table> 95 96 97 98 99 <table tal:condition="python: is_student and review_state == 'school_fee_paid'" width="100%" cellspacing="0" cellpadding="2" 100 class="folderButtons"> 101 <tr> 102 <td align="left" valign="top" rowspan="3"></td> 103 <td align="left" valign="top"> 104 <input type="submit" name="delete_course_result:method" value="Delete selected" 105 class="destructive" i18n:attributes="value" 106 tal:attributes="onclick python:'return window.confirm(\'%s\')' % 107 ('Do you really want to delete selected courses?', )" 108 /> 109 <input type="submit" name="refresh_level:method" 110 class="context" value="Update" 111 /> 112 113 114 <br /><br /> 115 <input tal:condition="info/normal" 116 type="submit" name="register_courses:method" 117 class="context" value="Submit" /> 118 119 <input type="hidden" name="action_after_validate" type="text" id="action_after_validate" 120 tal:attributes="value string:study_level_view"/> 121 122 <br /><br /> 123 124 <strong>Note:</strong> 'Update' checks for all courses in your certificate and will add them to your course list irrespective of 125 prior deletion, i.e. already deleted courses will show up again. 126 127 Please use this function only if you are sure that your faculty has added courses which are not yet on your course list. 128 129 </td> 130 </tr> 131 </table> 132 <table tal:condition="python:is_so" width="100%" cellspacing="0" cellpadding="2" 133 class="folderButtons"> 134 <tr> 135 <td align="left" valign="top" rowspan="3"></td> 136 <td align="left" valign="top"> 137 <input type="button" value="Select all" class="context" 138 onclick="someJavaScriptFunctionThatWillBeReplaced" 139 i18n:attributes="value" 140 tal:attributes="onclick python:'toggleSelect(this, \'%s\', \'%s\')' 141 % (cpsmcat('button_select_all'), cpsmcat('button_deselect_all'))" 142 /> 143 <input type="submit" name="delete_course_result:method" value="Delete selected" 144 class="destructive" i18n:attributes="value" 145 tal:attributes="onclick python:'return window.confirm(\'%s\')' % 146 ('Do you really want to delete the courses selected?', )" 147 /> 148 <input 149 type="submit" name="refresh_level:method" 150 class="context" value="Update" 151 /> 152 <input tal:condition="python: review_state == 'school_fee_paid'" type="submit" name="register_courses:method" 153 class="context" value="Submit" /> 154 <input tal:condition="python: review_state == 'courses_registered'" type="submit" name="validate_courses:method" 155 class="context" value="Validate" /> 156 <input tal:condition="python: review_state in ('courses_registered', 'courses_validated',)" type="submit" name="reject_courses:method" 157 class="context" value="Reject" /> 158 159 <input type="hidden" name="action_after_validate" type="text" id="action_after_validate" 160 tal:attributes="value string:study_level_view"/> 161 <input type="hidden" name="action_after_reject" type="text" id="action_after_reject" 162 tal:attributes="value string:contact_student_form"/> 163 164 </td> 165 </tr> 166 </table> 167 <table tal:condition="python:is_ca" width="100%" cellspacing="0" cellpadding="2" 168 class="folderButtons"> 169 <tr> 170 <td align="left" valign="top" rowspan="3"></td> 171 <td align="left" valign="top"> 172 <input tal:condition="python: review_state == 'school_fee_paid'" 173 type="button" value="Select all" class="context" 174 onclick="someJavaScriptFunctionThatWillBeReplaced" 175 i18n:attributes="value" 176 tal:attributes="onclick python:'toggleSelect(this, \'%s\', \'%s\')' 177 % (cpsmcat('button_select_all'), cpsmcat('button_deselect_all'))" 178 /> 179 <input tal:condition="python: review_state == 'school_fee_paid'" 180 type="submit" name="delete_course_result:method" value="Delete selected" 181 class="destructive" i18n:attributes="value" 182 tal:attributes="onclick python:'return window.confirm(\'%s\')' % 183 ('Do you really want to delete the courses selected?', )" 184 /> 185 <input tal:condition="python: review_state == 'school_fee_paid'" 186 type="submit" name="refresh_level:method" 187 class="context" value="Update" 188 /> 189 <input tal:condition="python: review_state == 'school_fee_paid'" type="submit" name="register_courses:method" 190 class="context" value="Submit" /> 191 <input tal:condition="python: review_state == 'courses_registered'" type="submit" name="validate_courses:method" 192 class="context" value="Validate" /> 193 <input tal:condition="python: review_state in ('courses_registered', 'courses_validated',)" type="submit" name="reject_courses:method" 194 class="context" value="Reject" /> 195 196 <input type="hidden" name="action_after_validate" type="text" id="action_after_validate" 197 tal:attributes="value string:study_level_view"/> 198 <input type="hidden" name="action_after_reject" type="text" id="action_after_reject" 199 tal:attributes="value string:contact_student_form"/> 200 201 202 </td> 203 </tr> 204 </table> 205 206 </form> 33 34 <h3> 35 <span tal:condition="python: is_so or is_ca"> 36 <span tal:content="info/student/name" />: 37 </span> 38 <span tal:condition="is_student">My </span> 39 40 Course Registration Form for <span tal:content="here/title_or_id" /> 41 </h3> 42 43 <form action="." method="post" class="group" onsubmit="return submit_once()"> 44 <span tal:condition="info/carry_overs" tal:omit-tag=""> 45 <h4>Carryover Courses</h4> 207 46 <br /> 208 <form action="add_course_result" method="post" class="group" onsubmit="return submit_once()" 209 tal:condition="show_check_boxes"> 210 <table> 211 <tr> 212 <th>Course Id</th> 213 <td><input type="text" name="course_id" 214 tal:attributes="value request/course_id|nothing"/></td> 215 <td colspan="2"> 216 <input type="submit" name="add" 217 class="context" value="Add Course" 218 /> 47 <table tal:condition="python: 1" class="contentListing" width="100%" summary="content layout" id="folder_content"> 48 <tr tal:repeat="row info/carry_overs" 49 tal:attributes="class python:test(repeat['row'].even(), 'even ajaxtd', 'odd ajaxtd')"> 50 <td align="left" valign="middle" style="width: 5px;" 51 tal:condition="show_check_boxes"> 52 <input type="checkbox" name="ids:list" value="" id="" class="noborder" 53 tal:define="id row/id" 54 tal:attributes="value id; 55 id python:'cb_' + id; 56 checked python:id in info['choosen_ids'];" 57 /> 58 </td> 59 <td width="78%" tal:content="row/title"></td> 60 <td align="center" width="10%" tal:content="row/code"></td> 61 <td align="center" width="2%">S<span tal:content="row/semester" /></td> 62 <td align="center" width="2%" tal:content="row/credits"></td> 63 <td align="center" width="8%" tal:content="row/grade|string:"></td> 64 </tr> 65 </table> 66 </span> 67 <br /> 68 <h4>Session Courses</h4> 69 <br /> 70 <div class="" tal:condition="not: info/normal"> 71 <font color="red">Your faculty has not yet provided the list of courses for your certificate. Please contact your faculty!</font> 72 <br /><br /> 73 </div> 74 <table class="contentListing" width="100%" id="folder_content" 75 tal:condition="info/normal"> 76 <tr tal:repeat="row info/normal" 77 tal:attributes="class python:test(repeat['row'].even(), 'even ajaxtd', 'odd ajaxtd')"> 78 <td align="left" valign="middle" style="width: 5px;" 79 tal:condition="show_check_boxes"> 80 <input type="checkbox" name="ids:list" value="" id="" class="noborder" 81 tal:define="id row/id" 82 tal:attributes="value id; 83 id python:'cb_' + id; 84 checked python:id in info['choosen_ids'];" 85 /> 86 </td> 87 <td width="78%" tal:content="row/title"></td> 88 <td align="center" width="10%" tal:content="row/code"></td> 89 <td align="center" width="2%">S<span tal:content="row/semester" /></td> 90 <td align="center" width="2%" tal:content="row/credits"></td> 91 <td align="center" width="8%" tal:content="row/coe|nothing"></td> 92 </tr> 93 <tr> 94 <td tal:condition="show_check_boxes" colspan="1"></td> 95 <td colspan="1"></td> 96 <th colspan="2">Total Credits:</th> 97 <td align="center" width="2%" tal:content="info/credits_total"></td> 98 </tr> 99 </table> 100 101 102 103 104 <table tal:condition="python: is_student and review_state == 'school_fee_paid'" width="100%" cellspacing="0" cellpadding="2" 105 class="folderButtons"> 106 <tr> 107 <td align="left" valign="top" rowspan="3"></td> 108 <td align="left" valign="top"> 109 <input type="submit" name="delete_course_result:method" value="Delete selected" 110 class="destructive" i18n:attributes="value" 111 tal:attributes="onclick python:'return window.confirm(\'%s\')' % 112 ('Do you really want to delete selected courses?', )" 113 /> 114 <input type="submit" name="refresh_level:method" 115 class="context" value="Update" 116 /> 117 118 119 <br /><br /> 120 <input tal:condition="info/normal" 121 type="submit" name="register_courses:method" 122 class="context" value="Submit" /> 123 219 124 <input type="hidden" name="action_after_validate" type="text" id="action_after_validate" 220 tal:attributes="value string:study_level_view"/> 221 </td> 222 </table> 223 </form> 224 </metal:main> 225 </metal:body> 226 </metal:html> 227 125 tal:attributes="value string:study_level_view"/> 126 127 <br /><br /> 128 129 <strong>Note:</strong> 'Update' checks for all courses in your certificate and will add them to your course list irrespective of 130 prior deletion, i.e. already deleted courses will show up again. 131 132 Please use this function only if you are sure that your faculty has added courses which are not yet on your course list. 133 134 </td> 135 </tr> 136 </table> 137 <table tal:condition="python:is_so" width="100%" cellspacing="0" cellpadding="2" 138 class="folderButtons"> 139 <tr> 140 <td align="left" valign="top" rowspan="3"></td> 141 <td align="left" valign="top"> 142 <input type="button" value="Select all" class="context" 143 onclick="someJavaScriptFunctionThatWillBeReplaced" 144 i18n:attributes="value" 145 tal:attributes="onclick python:'toggleSelect(this, \'%s\', \'%s\')' 146 % (cpsmcat('button_select_all'), cpsmcat('button_deselect_all'))" 147 /> 148 <input type="submit" name="delete_course_result:method" value="Delete selected" 149 class="destructive" i18n:attributes="value" 150 tal:attributes="onclick python:'return window.confirm(\'%s\')' % 151 ('Do you really want to delete the courses selected?', )" 152 /> 153 <input 154 type="submit" name="refresh_level:method" 155 class="context" value="Update" 156 /> 157 <input tal:condition="python: review_state == 'school_fee_paid'" type="submit" name="register_courses:method" 158 class="context" value="Submit" /> 159 <input tal:condition="python: review_state == 'courses_registered'" type="submit" name="validate_courses:method" 160 class="context" value="Validate" /> 161 <input tal:condition="python: review_state in ('courses_registered', 'courses_validated',)" type="submit" name="reject_courses:method" 162 class="context" value="Reject" /> 163 164 <input type="hidden" name="action_after_validate" type="text" id="action_after_validate" 165 tal:attributes="value string:study_level_view"/> 166 <input type="hidden" name="action_after_reject" type="text" id="action_after_reject" 167 tal:attributes="value string:contact_student_form"/> 168 169 </td> 170 </tr> 171 </table> 172 <table tal:condition="python:is_ca" width="100%" cellspacing="0" cellpadding="2" 173 class="folderButtons"> 174 <tr> 175 <td align="left" valign="top" rowspan="3"></td> 176 <td align="left" valign="top"> 177 <input tal:condition="python: review_state == 'school_fee_paid'" 178 type="button" value="Select all" class="context" 179 onclick="someJavaScriptFunctionThatWillBeReplaced" 180 i18n:attributes="value" 181 tal:attributes="onclick python:'toggleSelect(this, \'%s\', \'%s\')' 182 % (cpsmcat('button_select_all'), cpsmcat('button_deselect_all'))" 183 /> 184 <input tal:condition="python: review_state == 'school_fee_paid'" 185 type="submit" name="delete_course_result:method" value="Delete selected" 186 class="destructive" i18n:attributes="value" 187 tal:attributes="onclick python:'return window.confirm(\'%s\')' % 188 ('Do you really want to delete the courses selected?', )" 189 /> 190 <input tal:condition="python: review_state == 'school_fee_paid'" 191 type="submit" name="refresh_level:method" 192 class="context" value="Update" 193 /> 194 <input tal:condition="python: review_state == 'school_fee_paid'" type="submit" name="register_courses:method" 195 class="context" value="Submit" /> 196 <input tal:condition="python: review_state == 'courses_registered'" type="submit" name="validate_courses:method" 197 class="context" value="Validate" /> 198 <input tal:condition="python: review_state in ('courses_registered', 'courses_validated',)" type="submit" name="reject_courses:method" 199 class="context" value="Reject" /> 200 201 <input type="hidden" name="action_after_validate" type="text" id="action_after_validate" 202 tal:attributes="value string:study_level_view"/> 203 <input type="hidden" name="action_after_reject" type="text" id="action_after_reject" 204 tal:attributes="value string:contact_student_form"/> 205 206 207 </td> 208 </tr> 209 </table> 210 211 </form> 212 <br /> 213 <form action="add_course_result" method="post" class="group" onsubmit="return submit_once()" 214 tal:condition="show_check_boxes"> 215 <table> 216 <tr> 217 <th>Course Id</th> 218 <td><input type="text" name="course_id" 219 tal:attributes="value request/course_id|nothing"/></td> 220 <td colspan="2"> 221 <input type="submit" name="add" 222 class="context" value="Add Course" 223 /> 224 <input type="hidden" name="action_after_validate" type="text" id="action_after_validate" 225 tal:attributes="value string:study_level_view"/> 226 </td> 227 </table> 228 </form> 229 </span> 230 </span> 231 </metal:main> 232 </metal:body> 233
Note: See TracChangeset for help on using the changeset viewer.