Changeset 3000


Ignore:
Timestamp:
9 Jan 2008, 11:54:54 (17 years ago)
Author:
Henrik Bettermann
Message:

implement dynamical institution title (site properties must be imported)

Location:
WAeUP_SRP
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/base/skins/cps_custom/config_form.pt

    r2628 r3000  
    2121
    2222    <table id="portalConfiguration" summary="Portal properties form">
     23      <tr>
     24        <th>
     25          <label>
     26            Institution Title
     27          </label>
     28        </th>
     29        <td>
     30          <input name="institution_title" id="institution_title" value=""
     31                 tal:attributes="value pprops/institution_title" />
     32        </td>
     33      </tr>
    2334      <tr>
    2435        <th>
  • WAeUP_SRP/base/skins/cps_custom/reconfig.py

    r2628 r3000  
    1818    session=form.get('session'),
    1919    static_dir=form.get('static_dir'),
     20    institution_title=form.get('institution_title'),
    2021    )
    2122
  • WAeUP_SRP/base/skins/waeup_student/admission_form.pt

    r2992 r3000  
    2727 
    2828         
    29       <h3>This is to inform you that you have been provisionally admitted into University of Benin as follows:
     29      <h3>This is to inform you that you have been provisionally admitted into
     30      <span tal:replace="here/portal_properties/institution_title" /> as follows:
    3031      </h3>
    3132
  • WAeUP_SRP/base/skins/waeup_student/admission_rejected_view.pt

    r1096 r3000  
    22  <metal:main fill-slot="main">
    33
    4     <h3>You are not admitted into the University of Benin!</h3>
     4    <h3>You are not admitted into <span tal:replace="here/portal_properties/institution_title" />!</h3>
    55
    66  </metal:main>
  • WAeUP_SRP/base/skins/waeup_student/admission_slip.pt

    r2579 r3000  
    1111    <span tal:condition="info">
    1212
    13       <h3>This is to inform you that you have been provisionally admitted into University of Benin as follows:
     13      <h3>This is to inform you that you have been provisionally admitted into
     14      <span tal:replace="here/portal_properties/institution_title" /> as follows:
    1415      </h3>
    1516
  • WAeUP_SRP/base/skins/waeup_student/apply_admission_form.pt

    r2987 r3000  
    7575          <metal:block tal:condition="python:info['status'] == 'created'">
    7676              <br />
    77                 <strong>You have been provisionally admitted into University of Benin. Your member record has been created.
     77                <strong>You have been provisionally admitted into <span tal:replace="here/portal_properties/institution_title" />.
     78                        Your member record has been created.
    7879                        Please purchase a second Application Scratch Card and proceed to 'Check Admission'.</strong>
    7980              <br />  <br /> 
  • WAeUP_SRP/fceokene/profiles/customized_files.txt

    r2893 r3000  
    11actions.xml
     2properties.xml
    23vocabularies/pin_prefixes.xml
    34layouts/acco_hall.xml
  • WAeUP_SRP/fceokene/profiles/default/properties.xml

    r2661 r3000  
    66 <property name="session" type="string">2007/2008</property>
    77 <property name="static_dir" type="string">static/</property>
     8 <property name="institution_title" type="string">Federal College of Education Okene</property>
    89</site>
Note: See TracChangeset for help on using the changeset viewer.