Changeset 1737 for WAeUP_SRP/trunk
- Timestamp:
- 4 May 2007, 19:38:23 (18 years ago)
- Location:
- WAeUP_SRP/trunk
- Files:
-
- 83 added
- 87 deleted
- 33 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/__init__.py
r1350 r1737 23 23 # Only for CPS 3.4.1. In 3.4.2 and later this should be fixed. 24 24 import PatchCPSDefaultImportExport 25 import PatchRenderActionIcon 25 26 import Products.WAeUP_SRP.WAeUPPermissions 26 27 import WAeUPTool -
WAeUP_SRP/trunk/profiles/default/cps_portlets.xml
r952 r1737 1 1 <?xml version="1.0"?> 2 2 <object name=".cps_portlets" meta_type="CPS Placeful Portlets Container"> 3 <object name="portlet_ 122878951" meta_type="CPS Portlet"3 <object name="portlet_actions_staff" meta_type="CPS Portlet" 4 4 portal_type="Actions Portlet"/> 5 <object name="portlet_ 122878952" meta_type="CPS Portlet"5 <object name="portlet_actions_students" meta_type="CPS Portlet" 6 6 portal_type="Actions Portlet"/> 7 <object name="portlet_122878953" meta_type="CPS Portlet"8 portal_type="Custom Portlet"/>9 <object name="portlet_12306143" meta_type="CPS Portlet"10 portal_type="Actions Portlet"/>11 <object name="portlet_161679404" meta_type="CPS Portlet"12 portal_type="Add Item Portlet"/>13 <object name="portlet_161679405" meta_type="CPS Portlet"14 portal_type="Navigation Portlet"/>15 <object name="portlet_174592583" meta_type="CPS Portlet"16 portal_type="Add Item Portlet"/>17 <object name="portlet_174592585" meta_type="CPS Portlet"18 portal_type="Actions Portlet"/>19 <object name="portlet_174592586" meta_type="CPS Portlet"20 portal_type="Main Content Portlet"/>21 <object name="portlet_174592587" meta_type="CPS Portlet"22 portal_type="Add Item Portlet"/>23 <object name="portlet_174592588" meta_type="CPS Portlet"24 portal_type="Add Item Portlet"/>25 <object name="portlet_174592589" meta_type="CPS Portlet"26 portal_type="Actions Portlet"/>27 <object name="portlet_174592590" meta_type="CPS Portlet"28 portal_type="Actions Portlet"/>29 <object name="portlet_174592591" meta_type="CPS Portlet"30 portal_type="Text Portlet"/>31 <object name="portlet_174592592" meta_type="CPS Portlet"32 portal_type="Text Portlet"/>33 <object name="portlet_174592594" meta_type="CPS Portlet"34 portal_type="Text Portlet"/>35 <object name="portlet_234261018" meta_type="CPS Portlet"36 portal_type="Actions Portlet"/>37 <object name="portlet_252988174" meta_type="CPS Portlet"38 portal_type="Custom Portlet"/>39 <object name="portlet_317036513" meta_type="CPS Portlet"40 portal_type="Actions Portlet"/>41 <object name="portlet_317036514" meta_type="CPS Portlet"42 portal_type="Actions Portlet"/>43 <object name="portlet_317036515" meta_type="CPS Portlet"44 portal_type="Main Content Portlet"/>45 <object name="portlet_317036516" meta_type="CPS Portlet"46 portal_type="Actions Portlet"/>47 <object name="portlet_341785586" meta_type="CPS Portlet"48 portal_type="Main Content Portlet"/>49 <object name="portlet_368450196" meta_type="CPS Portlet"50 portal_type="Custom Portlet"/>51 <object name="portlet_368450197" meta_type="CPS Portlet"52 portal_type="Text Portlet"/>53 <object name="portlet_464817518" meta_type="CPS Portlet"54 portal_type="Actions Portlet"/>55 <object name="portlet_464817519" meta_type="CPS Portlet"56 portal_type="Custom Portlet"/>57 <object name="portlet_464817520" meta_type="CPS Portlet"58 portal_type="Main Content Portlet"/>59 <object name="portlet_506989420" meta_type="CPS Portlet"60 portal_type="Actions Portlet"/>61 <object name="portlet_563582796" meta_type="CPS Portlet"62 portal_type="Actions Portlet"/>63 <object name="portlet_57627398" meta_type="CPS Portlet"64 portal_type="Main Content Portlet"/>65 <object name="portlet_615085575" meta_type="CPS Portlet"66 portal_type="Search Portlet"/>67 <object name="portlet_615085576" meta_type="CPS Portlet"68 portal_type="Search Portlet"/>69 <object name="portlet_651968284" meta_type="CPS Portlet"70 portal_type="Main Content Portlet"/>71 <object name="portlet_688565662" meta_type="CPS Portlet"72 portal_type="Actions Portlet"/>73 <object name="portlet_728648475" meta_type="CPS Portlet"74 portal_type="Custom Portlet"/>75 <object name="portlet_778397188" meta_type="CPS Portlet"76 portal_type="Main Content Portlet"/>77 <object name="portlet_778397189" meta_type="CPS Portlet"78 portal_type="Breadcrumbs Portlet"/>79 <object name="portlet_778397191" meta_type="CPS Portlet"80 portal_type="Main Content Portlet"/>81 <object name="portlet_778397195" meta_type="CPS Portlet"82 portal_type="Actions Portlet"/>83 <object name="portlet_778397196" meta_type="CPS Portlet"84 portal_type="Actions Portlet"/>85 <object name="portlet_778397198" meta_type="CPS Portlet"86 portal_type="Actions Portlet"/>87 <object name="portlet_778397199" meta_type="CPS Portlet"88 portal_type="Text Portlet"/>89 <object name="portlet_778397201" meta_type="CPS Portlet"90 portal_type="Text Portlet"/>91 <object name="portlet_778397203" meta_type="CPS Portlet"92 portal_type="Add Item Portlet"/>93 <object name="portlet_778397204" meta_type="CPS Portlet"94 portal_type="Text Portlet"/>95 <object name="portlet_802892056" meta_type="CPS Portlet"96 portal_type="Text Portlet"/>97 <object name="portlet_851001221" meta_type="CPS Portlet"98 portal_type="Custom Portlet"/>99 <object name="portlet_882630613" meta_type="CPS Portlet"100 portal_type="Actions Portlet"/>101 <object name="portlet_916675861" meta_type="CPS Portlet"102 portal_type="Custom Portlet"/>103 <object name="portlet_916675862" meta_type="CPS Portlet"104 portal_type="Custom Portlet"/>105 <object name="portlet_951449960" meta_type="CPS Portlet"106 portal_type="Breadcrumbs Portlet"/>107 <object name="portlet_972599863" meta_type="CPS Portlet"108 portal_type="Text Portlet"/>109 <object name="portlet_975089837" meta_type="CPS Portlet"110 portal_type="Actions Portlet"/>111 <object name="portlet_accessibility" meta_type="CPS Portlet"112 portal_type="Custom Portlet"/>113 <object name="portlet_actions_header_sb" meta_type="CPS Portlet"114 portal_type="Actions Portlet"/>115 <object name="portlet_actions_object" meta_type="CPS Portlet"116 portal_type="Actions Portlet"/>117 <object name="portlet_actions_user" meta_type="CPS Portlet"118 portal_type="Actions Portlet"/>119 <object name="portlet_actions_user2" meta_type="CPS Portlet"120 portal_type="Custom Portlet"/>121 7 <object name="portlet_breadcrumbs" meta_type="CPS Portlet" 122 8 portal_type="Breadcrumbs Portlet"/> 123 9 <object name="portlet_breadcrumbs2" meta_type="CPS Portlet" 124 10 portal_type="Breadcrumbs Portlet"/> 125 <object name="portlet_conformance" meta_type="CPS Portlet" 11 <object name="portlet_export_actions" meta_type="CPS Portlet" 12 portal_type="Actions Portlet"/> 13 <object name="portlet_global_actions" meta_type="CPS Portlet" 14 portal_type="Actions Portlet"/> 15 <object name="portlet_import_actions" meta_type="CPS Portlet" 16 portal_type="Actions Portlet"/> 17 <object name="portlet_navigation_staff" meta_type="CPS Portlet" 18 portal_type="Actions Portlet"/> 19 <object name="portlet_navigation_students" meta_type="CPS Portlet" 20 portal_type="Actions Portlet"/> 21 <object name="portlet_object_actions_staff" meta_type="CPS Portlet" 22 portal_type="Actions Portlet"/> 23 <object name="portlet_object_actions_students" meta_type="CPS Portlet" 24 portal_type="Actions Portlet"/> 25 <object name="portlet_registration_status" meta_type="CPS Portlet" 126 26 portal_type="Custom Portlet"/> 127 <object name="portlet_conformance_statement" meta_type="CPS Portlet"128 portal_type="Custom Portlet"/>129 <object name="portlet_contactinfo" meta_type="CPS Portlet"130 portal_type="Custom Portlet"/>131 <object name="portlet_content_breaking_news" meta_type="CPS Portlet"132 portal_type="Content Portlet"/>133 <object name="portlet_copyright" meta_type="CPS Portlet"134 portal_type="Text Portlet"/>135 <object name="portlet_documents" meta_type="CPS Portlet"136 portal_type="Document Portlet"/>137 <object name="portlet_folderactions" meta_type="CPS Portlet"138 portal_type="Actions Portlet"/>139 <object name="portlet_foldercontents" meta_type="CPS Portlet"140 portal_type="Navigation Portlet"/>141 <object name="portlet_language" meta_type="CPS Portlet"142 portal_type="Language Portlet"/>143 <object name="portlet_latest_published" meta_type="CPS Portlet"144 portal_type="Content Portlet"/>145 <object name="portlet_main_content" meta_type="CPS Portlet"146 portal_type="Main Content Portlet"/>147 <object name="portlet_navigation_3tabs" meta_type="CPS Portlet"148 portal_type="Navigation Portlet"/>149 <object name="portlet_navigation_centertop" meta_type="CPS Portlet"150 portal_type="Navigation Portlet"/>151 <object name="portlet_navigation_front" meta_type="CPS Portlet"152 portal_type="Navigation Portlet"/>153 <object name="portlet_navigation_left" meta_type="CPS Portlet"154 portal_type="Navigation Portlet"/>155 <object name="portlet_navigation_members" meta_type="CPS Portlet"156 portal_type="Navigation Portlet"/>157 <object name="portlet_navigation_sections" meta_type="CPS Portlet"158 portal_type="Navigation Portlet"/>159 <object name="portlet_navigation_tabs" meta_type="CPS Portlet"160 portal_type="Navigation Portlet"/>161 <object name="portlet_navigation_workspaces" meta_type="CPS Portlet"162 portal_type="Navigation Portlet"/>163 <object name="portlet_objectactions" meta_type="CPS Portlet"164 portal_type="Actions Portlet"/>165 <object name="portlet_portalactions" meta_type="CPS Portlet"166 portal_type="Actions Portlet"/>167 27 <object name="portlet_search" meta_type="CPS Portlet" 168 28 portal_type="Search Portlet"/> 169 <object name="portlet_session" meta_type="CPS Portlet" 29 <object name="portlet_search2" meta_type="CPS Portlet" 30 portal_type="Search Portlet"/> 31 <object name="portlet_search3" meta_type="CPS Portlet" 32 portal_type="Search Portlet"/> 33 <object name="portlet_session_info" meta_type="CPS Portlet" 170 34 portal_type="Custom Portlet"/> 171 <object name="portlet_useractions" meta_type="CPS Portlet" 172 portal_type="Actions Portlet"/> 173 <object name="portlet_welcome" meta_type="CPS Portlet" 174 portal_type="Text Portlet"/> 35 <object name="portlet_workflow_status" meta_type="CPS Portlet" 36 portal_type="Custom Portlet"/> 175 37 </object> -
WAeUP_SRP/trunk/profiles/default/skins.xml
r1253 r1737 7 7 <object name="waeup_default" meta_type="Filesystem Directory View" 8 8 directory="WAeUP_SRP/skins/waeup_default"/> 9 <object name="waeup_design" meta_type="Filesystem Directory View" 10 directory="WAeUP_SRP/skins/waeup_design"/> 9 11 <object name="waeup_directory" meta_type="Filesystem Directory View" 10 12 directory="WAeUP_SRP/skins/waeup_directory"/> … … 31 33 <layer name="waeup_accommodation" insert-after="waeup_custom"/> 32 34 <layer name="waeup_utilities" insert-after="waeup_custom"/> 35 <layer name="waeup_design" insert-after="waeup_custom"/> 36 <layer name="CPSSkins" remove="" /> 37 <layer name="cpsskins_icons" remove="" /> 38 <layer name="cpsskins_cps3" remove="" /> 39 <layer name="cpsskins_cmf" remove="" /> 40 33 41 </skin-path> 34 42 <skin-path name="CPSSkins-macroless"> … … 42 50 <layer name="waeup_accommodation" insert-after="waeup_custom"/> 43 51 <layer name="waeup_utilities" insert-after="waeup_custom"/> 52 <layer name="waeup_design" insert-after="waeup_custom"/> 53 <layer name="CPSSkins" remove="" /> 54 <layer name="cpsskins_icons" remove="" /> 55 <layer name="cpsskins_cps3" remove="" /> 56 <layer name="cpsskins_cmf" remove="" /> 44 57 </skin-path> 45 58 </object> -
WAeUP_SRP/trunk/profiles/default/themes.xml
r1658 r1737 3 3 <property name="accesskey">*</property> 4 4 <property name="debug_mode">True</property> 5 <property name="method_themes"> 6 <element key="external_edit_form" value="WAeUP_Student+Slippage"/> 7 <element key="external_clearance_edit_form" value="WAeUP_Student+Slippage"/> 8 <element key="login_staff" value="WAeUP_Backoffice+Default"/> 9 <element key="logged_out" value="WAeUP_Student+Default"/> 10 <element key="index_html" value="WAeUP_Student+Default"/> 11 <element key="application_slip" value="WAeUP_Student+Slippage"/> 12 <element key="accommodation_slip" value="WAeUP_Student+Slippage"/> 13 <element key="session_results_slip" value="WAeUP_Student+Slippage"/> 14 <element key="pume_slip" value="WAeUP_Student+Slippage"/> 15 <element key="entry_results_anon_slip" value="WAeUP_Student+Slippage"/> 16 <element key="admission_slip" value="WAeUP_Student+Slippage"/> 17 <element key="clearance_slip" value="WAeUP_Student+Slippage"/> 18 <element key="inter_faculty_transfer_1" value="WAeUP_Student+Slippage"/> 19 <element key="inter_faculty_transfer_2" value="WAeUP_Student+Slippage"/> 20 <element key="inter_faculty_transfer_3" value="WAeUP_Student+Slippage"/> 21 <element key="intra_faculty_transfer_1" value="WAeUP_Student+Slippage"/> 22 <element key="intra_faculty_transfer_2" value="WAeUP_Student+Slippage"/> 23 <element key="intra_faculty_transfer_3" value="WAeUP_Student+Slippage"/> 24 <element key="payment_receipt" value="WAeUP_Student+Slippage"/> 25 <element key="course_registration_slip" value="WAeUP_Student+Slippage"/> 26 <element key="external_study_level_view" value="WAeUP_Student+Slippage"/> 27 <element key="external_contact_student_form" value="WAeUP_Student+Slippage"/> 28 </property> 29 <object name="default" meta_type="Portal Theme"/> 30 <object name="WAeUP_Student" meta_type="Portal Theme"/> 31 <object name="WAeUP_Backoffice" meta_type="Portal Theme"/> 5 <property name="method_themes"/> 32 6 </object> -
WAeUP_SRP/trunk/skins/waeup_default/external_edit_form.pt
r1028 r1737 1 <tal:block define=" 2 rendered_main python:context.getContent().render(layout_mode='edit', 1 <metal:defineblock tal:define="rendered_main python:context.getContent().render(layout_mode='edit', 3 2 cluster=None, 4 3 request=request, … … 9 8 is_allowed context/isSectionOfficer; 10 9 creation python:False; 11 metadata metadata|nothing;" 10 metadata metadata|nothing; 11 template here/slip_template/macros/master;" 12 12 > 13 13 <metal:block use-macro="context/waeup_edit_form/macros/edit_form" /> 14 </ tal:block>14 </metal:defineblock> -
WAeUP_SRP/trunk/skins/waeup_default/isStaff.py
r1077 r1737 22 22 "SectionOfficer" in roles or\ 23 23 "ClearanceOfficer" in roles or\ 24 "CourseAdviser" in roles or\ 25 "CourseAdvisers" in member.getGroups() or\ 24 26 "ClearanceOfficers" in member.getGroups() -
WAeUP_SRP/trunk/skins/waeup_default/waeup_edit_form.pt
r1028 r1737 1 <tal:block define=" 2 rendered_main python:context.getContent().render(layout_mode='edit', 1 <metal:defineblock tal:define="rendered_main python:context.getContent().render(layout_mode='edit', 3 2 cluster=None, 4 3 request=request, … … 10 9 is_allowed context/isSectionOfficer; 11 10 metadata metadata|nothing; 11 template here/waeup_content_master/macros/master; 12 12 "> 13 13 <metal:block define-macro="edit_form"> 14 <metal:block use-macro= "here/content_lib_master/macros/master">14 <metal:block use-macro=template> 15 15 16 16 <metal:block fill-slot="header"> … … 95 95 </metal:block> 96 96 </metal:block> 97 </ tal:block>97 </metal:defineblock> -
WAeUP_SRP/trunk/skins/waeup_epayment/payment_receipt.pt
r1634 r1737 1 <metal:body use-macro="here/ main_template/macros/master">1 <metal:body use-macro="here/slip_template/macros/master"> 2 2 <metal:main fill-slot="main" 3 3 tal:define="info context/getStudentBaseInfo; -
WAeUP_SRP/trunk/skins/waeup_student/accommodation_slip.pt
r1302 r1737 1 <metal:body use-macro="here/ main_template/macros/master">1 <metal:body use-macro="here/slip_template/macros/master"> 2 2 <metal:main fill-slot="main" 3 3 tal:define="info_acco context/getAccommodationInfo; -
WAeUP_SRP/trunk/skins/waeup_student/admission_slip.pt
r1096 r1737 4 4 </span> 5 5 <metal:block tal:condition="info"> 6 <metal:body use-macro="here/ main_template/macros/master">6 <metal:body use-macro="here/slip_template/macros/master"> 7 7 <metal:main fill-slot="main"> 8 8 <span tal:condition="not: info"> -
WAeUP_SRP/trunk/skins/waeup_student/application_slip.pt
r1292 r1737 1 <metal:body use-macro="here/ main_template/macros/master">1 <metal:body use-macro="here/slip_template/macros/master"> 2 2 <metal:main fill-slot="main" 3 3 tal:define="info context/getApplicationInfo"> -
WAeUP_SRP/trunk/skins/waeup_student/clearance_edit_form.pt
r1275 r1737 1 <metal:block define-macro="clearance_edit_form"> 2 <metal:block use-macro="here/waeup_content_master/macros/master"> 3 <metal:header fill-slot="header" 4 tal:define=" 5 is_student context/isStudent; 6 is_staff context/isStaff; 7 is_so context/isSectionOfficer; 8 info context/getClearanceInfo;"> 9 <metal:block use-macro="here/clearance_edit_lib/macros/header" /> 10 </metal:header> 1 <metal:definetemplate tal:define="template here/main_template/macros/master"> 2 <metal:definemacro define-macro="clearance_edit_form"> 3 <metal:usemacro use-macro=template> 4 11 5 <metal:main fill-slot="main" 12 6 tal:define=" 13 info context/getClearanceInfo; 7 info context/getClearanceInfo;"> 8 9 <metal:block tal:condition="not: info"> 10 <span tal:content="here/illegal_view" /> 11 </metal:block> 12 <metal:block tal:condition="info"> 13 <metal:block tal:define=" 14 14 is_so context/isSectionOfficer; 15 15 is_staff context/isStaff; … … 28 28 form_action string:clearance_edit; 29 29 creation python:False;"> 30 31 <!-- Administration --> 32 <tal:block condition="python: not(is_staff or is_so or is_student)"> 33 <metal:block use-macro="here/error_not_found/macros/not_found" /> 34 </tal:block> 35 <tal:block condition="is_staff"> 36 <h3> 37 <span tal:condition="info"> 38 <span tal:content="info/student/Title" />: 39 </span> 40 <span tal:content="here/title_or_id" /> 41 </h3> 42 <br /> 43 </tal:block> 44 <!-- Student --> 45 <tal:block condition="python: is_student"> 46 <a href="" 47 tal:attributes="href string:${here/academicsParent}"> 48 <img tal:attributes="src string:${here/portal_url}/arrow_up.gif"/> 49 Up one level 50 </a> 51 <h3>Fill Your Clearance/Eligibility Form!</h3> 52 <br /> 53 </tal:block> 54 30 55 31 56 <form action="ACTION" method="post" id="editForm" … … 47 72 ajax feedback 48 73 </div> 74 </metal:block> 75 </metal:block> 49 76 </metal:main> 50 </metal:block> 51 </metal:block> 77 78 </metal:usemacro> 79 </metal:definemacro> 80 </metal:definetemplate> -
WAeUP_SRP/trunk/skins/waeup_student/clearance_edit_lib.pt
r1105 r1737 1 1 <!-- clearance_edit_lib --> 2 2 <!-- $Id$ --> 3 <!-- header --> 4 <metal:block define-macro="header"> 5 <!-- Administration --> 6 <tal:block condition="python: not(is_staff or is_so or is_student)"> 7 <metal:block use-macro="here/error_not_found/macros/not_found" /> 8 </tal:block> 9 <tal:block condition="is_staff"> 10 <h3> 11 <span tal:condition="info"> 12 <span tal:content="info/student/Title" />: 13 </span> 14 <span tal:content="here/title_or_id" /> 15 </h3> 16 <br /> 17 </tal:block> 18 <!-- Student --> 19 <tal:block condition="python: is_student"> 20 <a href="" 21 tal:attributes="href string:${here/academicsParent}"> 22 <img tal:attributes="src string:${here/portal_url}/arrow_up.gif"/> 23 Up one level 24 </a> 25 <h3>Fill Your Clearance/Eligibility Form!</h3> 26 <br /> 27 </tal:block> 28 </metal:block> 3 29 4 <!-- buttons --> 30 5 <metal:block define-macro="buttons"> -
WAeUP_SRP/trunk/skins/waeup_student/clearance_slip.pt
r1575 r1737 1 <metal:body use-macro="here/ main_template/macros/master">1 <metal:body use-macro="here/slip_template/macros/master"> 2 2 <metal:main fill-slot="main" 3 3 tal:define="info context/getClearanceInfo"> … … 5 5 <span tal:content="here/illegal_view" /> 6 6 </span> 7 <span tal: condition="info">7 <span tal:omit-tag="" tal:condition="info"> 8 8 <div style="text-align: right" tal:condition="info/penalty"> 9 9 <strong>Late Clearance!</strong></div> … … 26 26 <td tal:content="sc/study_course" /> 27 27 </tr> 28 <span tal:define="f_id sc/faculty; 28 <span tal:omit-tag="" 29 tal:define="f_id sc/faculty; 29 30 d_id sc/department; 30 31 f_title context/academics/?f_id/Title|string:Faculty not yet in Prospectus; -
WAeUP_SRP/trunk/skins/waeup_student/contact_student_form.pt
r1595 r1737 1 <metal:definetemplate tal:define="template here/waeup_content_master/macros/master"> 1 2 <metal:block define-macro="contact_student_form"> 2 <metal:body use-macro= "here/main_template/macros/master">3 <metal:body use-macro=template> 3 4 <metal:main fill-slot="main" 4 5 tal:define="member python:context.portal_membership.getAuthenticatedMember(); … … 80 81 </metal:body> 81 82 </metal:block> 83 </metal:definetemplate> -
WAeUP_SRP/trunk/skins/waeup_student/course_registration_slip.pt
r1612 r1737 1 <metal:body use-macro="here/ main_template/macros/master">1 <metal:body use-macro="here/slip_template/macros/master"> 2 2 <metal:main fill-slot="main" 3 3 tal:define="info context/getStudyLevelInfo; -
WAeUP_SRP/trunk/skins/waeup_student/entry_results_anon_slip.pt
r1292 r1737 1 <metal:body use-macro="here/ main_template/macros/master">1 <metal:body use-macro="here/slip_template/macros/master"> 2 2 <metal:main fill-slot="main" 3 3 tal:define="pume python:context.portal_pumeresults(jamb_reg_no=request.get('nr'))[0]"> -
WAeUP_SRP/trunk/skins/waeup_student/external_clearance_edit_form.pt
r894 r1737 1 <metal:block use-macro="here/clearance_edit_form/macros/clearance_edit_form" /> 1 <metal:definetemplate tal:define="template here/slip_template/macros/master"> 2 <metal:block use-macro="here/clearance_edit_form/macros/clearance_edit_form" /> 3 </metal:definetemplate> 4 5 -
WAeUP_SRP/trunk/skins/waeup_student/external_contact_student_form.pt
r1588 r1737 1 <metal:block use-macro="here/contact_student_form/macros/contact_student_form" /> 1 <metal:definetemplate tal:define="template here/slip_template/macros/master"> 2 <metal:block use-macro="here/contact_student_form/macros/contact_student_form" /> 3 </metal:definetemplate> -
WAeUP_SRP/trunk/skins/waeup_student/external_study_level_view.pt
r1590 r1737 1 1 <metal:html> 2 <metal:body use-macro="here/ waeup_content_master/macros/master">2 <metal:body use-macro="here/slip_template/macros/master"> 3 3 <metal:block fill-slot="header" 4 4 tal:define="global info context/getStudyLevelInfo; -
WAeUP_SRP/trunk/skins/waeup_student/inter_faculty_transfer_1.pt
r1360 r1737 1 <metal:body use-macro="here/ main_template/macros/master">1 <metal:body use-macro="here/slip_template/macros/master"> 2 2 <metal:main fill-slot="main" 3 3 tal:define="info context/getTransferInfo"> -
WAeUP_SRP/trunk/skins/waeup_student/inter_faculty_transfer_2.pt
r1360 r1737 1 <metal:body use-macro="here/ main_template/macros/master">1 <metal:body use-macro="here/slip_template/macros/master"> 2 2 <metal:main fill-slot="main" 3 3 tal:define="info context/getTransferInfo"> -
WAeUP_SRP/trunk/skins/waeup_student/inter_faculty_transfer_3.pt
r1360 r1737 1 <metal:body use-macro="here/ main_template/macros/master">1 <metal:body use-macro="here/slip_template/macros/master"> 2 2 <metal:main fill-slot="main" 3 3 tal:define="info context/getTransferInfo"> -
WAeUP_SRP/trunk/skins/waeup_student/intra_faculty_transfer_1.pt
r1360 r1737 1 <metal:body use-macro="here/ main_template/macros/master">1 <metal:body use-macro="here/slip_template/macros/master"> 2 2 <metal:main fill-slot="main" 3 3 tal:define="info context/getTransferInfo"> -
WAeUP_SRP/trunk/skins/waeup_student/intra_faculty_transfer_2.pt
r1360 r1737 1 <metal:body use-macro="here/ main_template/macros/master">1 <metal:body use-macro="here/slip_template/macros/master"> 2 2 <metal:main fill-slot="main" 3 3 tal:define="info context/getTransferInfo"> -
WAeUP_SRP/trunk/skins/waeup_student/intra_faculty_transfer_3.pt
r1360 r1737 1 <metal:body use-macro="here/ main_template/macros/master">1 <metal:body use-macro="here/slip_template/macros/master"> 2 2 <metal:main fill-slot="main" 3 3 tal:define="info context/getTransferInfo"> -
WAeUP_SRP/trunk/skins/waeup_student/layout_clearance_view.pt
r1061 r1737 7 7 > 8 8 <table> 9 <span tal: repeat="row layout/rows">10 <span tal:repeat="cell row">11 <span tal: condition="python:cell['widget_rendered']9 <span tal:omit-tag="" tal:repeat="row layout/rows"> 10 <span tal:omit-tag="" tal:repeat="cell row"> 11 <span tal:omit-tag="" tal:condition="python:cell['widget_rendered'] 12 12 and not cell['widget_rendered'] in ('None','-',) 13 13 or cell['widget_id'] == 'birth_certificate'"> 14 <span tal: define="widget cell/widget"14 <span tal:omit-tag="" tal:define="widget cell/widget" 15 15 tal:condition="python:cell['widget_id'] not in fields_not_displayed"> 16 16 <div tal:omit-tag="" … … 22 22 <tr> 23 23 <tal:block condition="widget/label"> 24 <td width="180px" valign="top" nowrap>24 <td width="180px" valign="top"> 25 25 <span i18n:translate="" tal:condition="widget/is_i18n"> 26 26 <span tal:content="widget/label" />:</span> -
WAeUP_SRP/trunk/skins/waeup_student/personal_edit_form.pt
r1276 r1737 1 <metal:body use-macro="here/waeup_content_master/macros/master"> 2 <metal:block fill-slot="header" 3 tal:define="info context/getPersonalInfo"> 4 <a href="" 5 tal:attributes="href string:${here/academicsParent}"> 6 <img tal:attributes="src string:${here/portal_url}/arrow_up.gif"/> 7 Up one level 8 </a> 9 <h3>Update Your Personal Data!</h3> 10 <br /> 11 </metal:block> 12 1 <metal:body use-macro="here/main_template/macros/master"> 2 3 13 4 <metal:main fill-slot="main" 14 tal:define="info context/getPersonalInfo; 15 rendered_main python:info['per_doc'].render( 5 tal:define="info context/getPersonalInfo;"> 6 <metal:block tal:condition="not: info"> 7 <span tal:content="here/illegal_view" /> 8 </metal:block> 9 <metal:block tal:condition="info"> 10 <metal:block tal:define="rendered_main python:info['per_doc'].render( 16 11 layout_mode='edit', 17 12 schema_id = 'student_personal', … … 23 18 metadata nothing; 24 19 "> 20 <a href="" 21 tal:attributes="href string:${here/academicsParent}"> 22 <img tal:attributes="src string:${here/portal_url}/arrow_up.gif"/> 23 Up one level 24 </a> 25 <h3>Update Your Personal Data!</h3> 26 <br /> 27 25 28 <form action="ACTION" method="post" id="editForm" 26 29 enctype="multipart/form-data" class="workflow" … … 37 40 id="cpsdocument_edit_button"/> 38 41 </form> 42 </metal:block> 43 </metal:block> 39 44 </metal:main> 40 45 </metal:body> -
WAeUP_SRP/trunk/skins/waeup_student/portlet_student_workflow_display.pt
r1304 r1737 2 2 info item/getStudentWorkflowInfo;" 3 3 condition="context/isStudent"> 4 5 6 <table> 7 <tr><td style="padding: 1em 0em 0.2em 0em;"> 8 <strong>Registration Status:</strong> 9 </td></tr> 10 </table> 4 11 5 12 <table class="registration" tal:condition="not:info/cr"> -
WAeUP_SRP/trunk/skins/waeup_student/pume_slip.pt
r805 r1737 1 1 <metal:html tal:define="info context/getStudentInfo"> 2 <metal:body use-macro="here/ main_template/macros/master">2 <metal:body use-macro="here/slip_template/macros/master"> 3 3 <metal:main fill-slot="main"> 4 4 <span tal:condition="not: info"> -
WAeUP_SRP/trunk/skins/waeup_student/session_results_slip.pt
r1679 r1737 1 <metal:body use-macro="here/ main_template/macros/master">1 <metal:body use-macro="here/slip_template/macros/master"> 2 2 <metal:main fill-slot="main" 3 3 tal:define="info context/getSessionResults"> -
WAeUP_SRP/trunk/skins/waeup_student/start_clearance.py
r1571 r1737 84 84 dc['clr_ac_date'] = current 85 85 dc['entry_date'] = current 86 dc['entry_session'] = "2006/2007"86 #dc['entry_session'] = "2006/2007" 87 87 wf.doActionFor(info['app'],'close') 88 88 info['clear_doc'].edit(mapping = dc) -
WAeUP_SRP/trunk/skins/waeup_student/student_view.pt
r1527 r1737 1 1 <metal:body use-macro="here/main_template/macros/master"> 2 2 <metal:main fill-slot="main" 3 tal:define="info context/getStudentFolderInfo; 4 is_so info/is_sectionofficer|nothing; 5 is_staff info/is_staff|nothing; 6 is_student info/is_student"> 7 <span tal:condition="not: info"> 3 tal:define="info context/getStudentFolderInfo;"> 4 <metal:block tal:condition="not: info"> 8 5 <span tal:content="here/illegal_view" /> 9 </span> 10 <span tal:condition="info" 11 tal:define="review_state info/review_state; 12 rows python: info['items']"> 6 </metal:block> 7 <metal:block tal:condition="info"> 8 <metal:block tal:define="review_state info/review_state; 9 rows python: info['items']; 10 is_so info/is_sectionofficer|nothing; 11 is_staff info/is_staff|nothing; 12 is_student info/is_student"> 13 13 14 14 <a href="" tal:condition="is_staff" … … 103 103 </table> 104 104 105 </span> 105 </metal:block> 106 </metal:block> 106 107 </metal:main> 107 108 </metal:body>
Note: See TracChangeset for help on using the changeset viewer.