Ignore:
Timestamp:
26 Apr 2020, 09:22:35 (5 years ago)
Author:
Henrik Bettermann
Message:

Customize saveCourses.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/kofacustom.iuokada/trunk/src/kofacustom/iuokada/applicants/browser_templates/applicanteditpage.pt

    r16070 r16075  
    2424
    2525      <tr>
    26         <td class="separator" colspan="2">For Demonstration Purposes Only!! <<<<</td>
     26        <td class="separator" colspan="2">
     27          Programmes/Courses Desired
     28        </td>
    2729      </tr>
    2830      <tr>
    2931        <td class="fieldname" i18n:translate="">
    30           Certificate:
     32          1st Choice Course of Study:
    3133        </td>
    3234        <td>
    3335          <input id="filterbox" class="kofa-filterbox form-control half"
    34                  placeholder="Enter search text, then select item below."
     36                 placeholder="Enter search text, then select course below."
    3537                 type="text" i18n:translate=""/>
    3638          <br />
    37           <select id="filteredselect" name="course1"
     39          <select id="filteredselect" name="custom.course1"
    3840                  class="form-control" size=5>
    39               <span tal:repeat="item view/certs"
    40                   tal:omit-tag="">
    41               <option tal:attributes="value python:item[0]">
    42                 <span tal:replace="python:item[1]">TITLE</span>
    43               </option>
    44             </span>
     41            <option tal:repeat="item python:view.getCerts('course1')"
     42                    tal:attributes="value item/code; selected item/selected">
     43              <span tal:replace="item/title">TITLE</span>
     44            </option>
    4545          </select>
    4646        </td>
    4747      </tr>
    48 
    49       <tr>
    50         <td class="separator" colspan="2">>>>></td>
     48      <tr>
     49        <td class="fieldname" i18n:translate="">
     50          2nd Choice Course of Study:
     51        </td>
     52        <td>
     53          <input id="filterbox" class="kofa-filterbox form-control half"
     54                 placeholder="Enter search text, then select course below."
     55                 type="text" i18n:translate=""/>
     56          <br />
     57          <select id="filteredselect" name="custom.course2"
     58                  class="form-control" size=5>
     59            <option tal:repeat="item python:view.getCerts('course2')"
     60                    tal:attributes="value item/code; selected item/selected">
     61              <span tal:replace="item/title">TITLE</span>
     62            </option>
     63          </select>
     64        </td>
     65      </tr>
     66
     67      <tr>
     68        <td class="separator" colspan="2">
     69          File Uploads
     70        </td>
    5171      </tr>
    5272
     
    129149  </table>
    130150
    131   <div tal:condition="python: not view.manage_applications
    132                               and context.__parent__.with_picture">
    133     <input id="confirm_passport" name="confirm_passport"
    134            type="checkbox" value="True"/>&nbsp;&nbsp;
    135     <span i18n:translate="">
    136     I confirm that the Passport Photograph uploaded on this form is a
    137     true picture of me.
    138     </span>
    139   </div>
     151  <p style="color:red"
     152      tal:condition="python: view.target in ('pg',)
     153                     and not view.manage_applications">
    140154  <br />
     155  Note: Your admission will not be processed until at least 2 of your expected
     156  3 referees have returned their assessment, while awaiting the 3rd referee, and
     157  until your transcript has been sent to the address below:<br /><br />
     158  The Office of the Secretary<br />
     159  School of Post Graduate Studies & Research (Main Campus)<br />
     160  Igbinedion University, Okada<br />
     161  Edo State, Nigeria<br /><br />
     162  </p>
    141163
    142164  <div tal:condition="view/availableActions">
Note: See TracChangeset for help on using the changeset viewer.