Changeset 774 for WAeUP_SRP/trunk


Ignore:
Timestamp:
29 Oct 2006, 09:55:22 (18 years ago)
Author:
Henrik Bettermann
Message:

pume rendering adapted
pume_slip added
portlet_session_info simplified

Location:
WAeUP_SRP/trunk
Files:
5 added
1 deleted
7 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/profiles/default/layouts.xml

    r745 r774  
    2323 <object name="student_password" meta_type="CPS Layout"/>
    2424 <object name="student_pume" meta_type="CPS Layout"/>
     25 <object name="student_pume_fe" meta_type="CPS Layout"/>
    2526 <object name="student_search" meta_type="CPS Layout"/>
    2627 <object name="student_study_level" meta_type="CPS Layout"/>
  • WAeUP_SRP/trunk/profiles/default/layouts/student_clearance_fe.xml

    r770 r774  
    11<?xml version="1.0"?>
    2 <object name="student_clearance_fe" meta_type="CPS Layout">
     2<object name="student_clearance" meta_type="CPS Layout">
    33 <property name="layout_create_method"></property>
    44 <property name="layout_edit_method"></property>
     
    1212   <element value="acc_inst"/>
    1313  </property>
     14  <property name="is_required">True</property>
    1415  <property name="label">Accepted by Institution</property>
    1516  <property name="label_edit">Accepted by Institution</property>
     
    2728   <element value="acc_let"/>
    2829  </property>
     30  <property name="is_required">True</property>
    2931  <property name="label">Acceptance Letter </property>
    3032  <property name="label_edit">Acceptance Letter </property>
     
    5557   <element value="age_dec"/>
    5658  </property>
     59  <property name="is_required">True</property>
    5760  <property name="label">Age Declaration</property>
    5861  <property name="label_edit">Age Declaration</property>
     
    105108   <element value="alr_scan"/>
    106109  </property>
     110  <property name="is_required">True</property>
    107111  <property name="label">Scan of Advanced Level Result</property>
    108112  <property name="label_edit">Scan of Advanced Level Result</property>
     
    120124   <element value="birth_certificate"/>
    121125  </property>
     126  <property name="is_required">True</property>
    122127  <property name="label">Birth Certificate</property>
    123128  <property name="label_edit">Birth Certificate</property>
     
    146151   <element value="cert"/>
    147152  </property>
     153  <property name="is_required">True</property>
    148154  <property name="label">Certificateficate</property>
    149155  <property name="label_edit">Certificateficate</property>
     
    177183   <element value="cred"/>
    178184  </property>
     185  <property name="is_required">True</property>
    179186  <property name="label">Credential</property>
    180187  <property name="label_edit">Credential</property>
     
    238245   <element value="evid"/>
    239246  </property>
     247  <property name="is_required">True</property>
    240248  <property name="label">Evidence of Name</property>
    241249  <property name="label_edit">Evidence of Name</property>
     
    310318   <element value="fst_sit_scan"/>
    311319  </property>
     320  <property name="is_required">True</property>
    312321  <property name="label">Scan of First Sitting Result</property>
    313322  <property name="label_edit">Scan of First Sitting Result</property>
     
    371380   <element value="hq_scan"/>
    372381  </property>
     382  <property name="is_required">True</property>
    373383  <property name="label">Scan of Higher Qualification Result</property>
    374384  <property name="label_edit">Scan of Higher Qualification Result</property>
     
    420430   <element value="jamb_let"/>
    421431  </property>
     432  <property name="is_required">True</property>
    422433  <property name="label">JAMB Letter</property>
    423434  <property name="label_edit">JAMB Letter</property>
     
    435446   <element value="jamb_slip"/>
    436447  </property>
     448  <property name="is_required">True</property>
    437449  <property name="label">JAMB Slip</property>
    438450  <property name="label_edit">JAMB Slip</property>
     
    462474   <element value="lga_ident"/>
    463475  </property>
     476  <property name="is_required">True</property>
    464477  <property name="label">LGA Identification</property>
    465478  <property name="label_edit">LGA Identification</property>
     
    479492  <property name="label">Matriculation Number</property>
    480493  <property name="label_edit">Matriculation Number</property>
    481   <property name="readonly_layout_modes">
    482    <element value="edit"/>
    483   </property>
     494  <property name="readonly_layout_modes"/>
     495  <property name="hidden_layout_modes"/>
    484496  <property name="hidden_readonly_layout_modes"/>
    485497  <property name="display_width">10</property>
     
    503515   <element value="ref_let"/>
    504516  </property>
     517  <property name="is_required">True</property>
    505518  <property name="label">Referee Letter</property>
    506519  <property name="label_edit">Referee Letter</property>
     
    518531   <element value="res_stat"/>
    519532  </property>
     533  <property name="is_required">True</property>
    520534  <property name="label">Result Statement</property>
    521535  <property name="label_edit">Result Statement</property>
     
    579593   <element value="scd_sit_scan"/>
    580594  </property>
     595  <property name="is_required">True</property>
    581596  <property name="label">Scan of Second Sitting Result</property>
    582597  <property name="label_edit">Scan of Second Sitting Result</property>
     
    606621   <element value="stat_dec"/>
    607622  </property>
     623  <property name="is_required">True</property>
    608624  <property name="label">Statutory Declaration of Good Conduct</property>
    609625  <property name="label_edit">Statutory Declaration of Good Conduct</property>
     
    640656 <table>
    641657  <row>
     658   <cell name="matric_no"/>
     659  </row>
     660  <row>
    642661   <cell name="clr_ac_pin"/>
    643662  </row>
     
    649668  </row>
    650669  <row>
     670   <cell name="birthday"/>
     671  </row>
     672  <row>
     673   <cell name="lga"/>
     674  </row>
     675  <row>
     676   <cell name="nationality"/>
     677  </row>
     678  <row>
    651679   <cell name="email"/>
    652680  </row>
    653681  <row>
    654    <cell name="lga"/>
    655   </row>
    656   <row>
    657    <cell name="nationality"/>
    658   </row>
    659   <row>
    660    <cell name="matric_no"/>
    661   </row>
    662   <row>
    663    <cell name="birthday"/>
     682   <cell name="fst_sit_fname"/>
     683  </row>
     684  <row>
     685   <cell name="fst_sit_no"/>
     686  </row>
     687  <row>
     688   <cell name="fst_sit_date"/>
     689  </row>
     690  <row>
     691   <cell name="fst_sit_type"/>
     692  </row>
     693  <row>
     694   <cell name="fst_sit_scan"/>
     695  </row>
     696  <row>
     697   <cell name="scd_sit_fname"/>
     698  </row>
     699  <row>
     700   <cell name="scd_sit_no"/>
     701  </row>
     702  <row>
     703   <cell name="scd_sit_date"/>
     704  </row>
     705  <row>
     706   <cell name="scd_sit_type"/>
     707  </row>
     708  <row>
     709   <cell name="scd_sit_scan"/>
     710  </row>
     711  <row>
     712   <cell name="alr_fname"/>
     713  </row>
     714  <row>
     715   <cell name="alr_no"/>
     716  </row>
     717  <row>
     718   <cell name="alr_date"/>
     719  </row>
     720  <row>
     721   <cell name="alr_scan"/>
     722  </row>
     723  <row>
     724   <cell name="hq_type"/>
     725  </row>
     726  <row>
     727   <cell name="hq_grade"/>
     728  </row>
     729  <row>
     730   <cell name="hq_school"/>
     731  </row>
     732  <row>
     733   <cell name="hq_matric_no"/>
     734  </row>
     735  <row>
     736   <cell name="hq_session"/>
     737  </row>
     738  <row>
     739   <cell name="hq_disc"/>
     740  </row>
     741  <row>
     742   <cell name="hq_scan"/>
    664743  </row>
    665744  <row>
    666745   <cell name="birth_certificate"/>
     746  </row>
     747  <row>
     748   <cell name="lga_ident"/>
     749  </row>
     750  <row>
     751   <cell name="acc_let"/>
     752  </row>
     753  <row>
     754   <cell name="jamb_slip"/>
     755  </row>
     756  <row>
     757   <cell name="cert"/>
     758  </row>
     759  <row>
     760   <cell name="evid"/>
     761  </row>
     762  <row>
     763   <cell name="jamb_let"/>
     764  </row>
     765  <row>
     766   <cell name="res_stat"/>
     767  </row>
     768  <row>
     769   <cell name="ref_let"/>
     770  </row>
     771  <row>
     772   <cell name="cred"/>
     773  </row>
     774  <row>
     775   <cell name="stat_dec"/>
     776  </row>
     777  <row>
     778   <cell name="age_dec"/>
     779  </row>
     780  <row>
     781   <cell name="acc_inst"/>
     782  </row>
     783  <row>
     784   <cell name="fst_ch"/>
     785  </row>
     786  <row>
     787   <cell name="scd_ch"/>
     788  </row>
     789  <row>
     790   <cell name="sup_adm"/>
     791  </row>
     792  <row>
     793   <cell name="uniben"/>
     794  </row>
     795  <row>
     796   <cell name="form_matric_no"/>
     797  </row>
     798  <row>
     799   <cell name="def_adm"/>
     800  </row>
     801  <row>
     802   <cell name="acknow"/>
    667803  </row>
    668804 </table>
  • WAeUP_SRP/trunk/profiles/default/layouts/student_pume.xml

    r770 r774  
    11<?xml version="1.0"?>
    2 <object name="student_application" meta_type="CPS Layout">
     2<object name="student_pume" meta_type="CPS Layout">
    33 <property name="layout_create_method"></property>
    44 <property name="layout_edit_method"></property>
  • WAeUP_SRP/trunk/profiles/default/themes.xml

    r658 r774  
    1010  <element key="application_slip" value="WAeUP_Student+Slippage"/>
    1111  <element key="accommodation_slip" value="WAeUP_Student+Slippage"/>
     12  <element key="pume_slip" value="WAeUP_Student+Slippage"/>
    1213 </property>
    1314 <object name="default" meta_type="Portal Theme"/>
  • WAeUP_SRP/trunk/skins/waeup_default/portlet_session_info.pt

    r773 r774  
    22           member mtool/getAuthenticatedMember;
    33           isAnon mtool/isAnonymousUser;
    4            roles member/getRoles;
    5            backend python:'Manager' in roles or 'SectionManager' in roles;
    6            frontend python:'Student' in roles or isAnon;
    74           info context/getStudentInfo;"
    85           >
    9   <tal:block condition="info">
     6  <tal:block condition="context/isStudent">
    107       <strong>
    118         <span tal:condition="info/is_student" tal:content="python:info['student_doc'].Title()" />
    12          <span tal:condition="not:info/is_student" tal:content="python:member.getProperty('fullname',None)" />
    139       </strong>
    1410  </tal:block>
    15   <tal:block condition="not:info">
     11  <tal:block condition="not:context/isStudent">
    1612       <strong>
    1713         <span tal:content="python:member.getProperty('fullname',None)" />
  • WAeUP_SRP/trunk/skins/waeup_student/layout_application_view_info.pt

    r770 r774  
    55              dm options/datastructure/getDataModel;
    66              widgets python:context.getRenderedWidgets(layout);
    7               fields python:('jamb_lastname','jamb_sex','app_email','app_mobile')"
     7              fields python:('jamb_reg_no','jamb_lastname','jamb_sex','app_email','app_mobile')"
    88              >
    99 
  • WAeUP_SRP/trunk/skins/waeup_student/pume_view.pt

    r770 r774  
    99           
    1010        <div style="text-align: right"
    11              tal:condition="python:review_state=='admission_applied'">
    12         <a href="" target="slip" tal:attributes="href string:application_slip"
     11             tal:condition="python:review_state in ('admitted', )">
     12        <a href="" target="slip" tal:attributes="href string:pume_slip"
    1313            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')">
    1414            <img tal:attributes="src string:${here/portal_url}/actionicon_print.png" />
    15             Application Slip
     15            PUME Result Slip
    1616        </a>
    1717       
     
    2323              tal:content="structure python: info['pume_doc'].render(proxy=info['pume_doc'],
    2424              layout_mode='view',
    25               layout_id='student_pume')"
     25              layout_id='student_pume_fe')"
    2626              />
    2727      </span>
Note: See TracChangeset for help on using the changeset viewer.