Ignore:
Timestamp:
31 Jul 2019, 10:49:59 (5 years ago)
Author:
Henrik Bettermann
Message:

Implement Verification of Result/Transcript? and Certificate application form.

Location:
main/waeup.aaue/trunk/src/waeup/aaue/applicants/browser_templates
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.aaue/trunk/src/waeup/aaue/applicants/browser_templates/applicantdisplaypage.pt

    r15503 r15530  
    3737      </td>
    3838    <tr>
    39     <tr tal:condition="python: view.target in ('trans', 'cert')">
     39    <tr tal:condition="python: view.target in ('trans', 'cert', 'ver')">
    4040      <td class="fieldname" i18n:translate="">
    4141        Files:
  • main/waeup.aaue/trunk/src/waeup/aaue/applicants/browser_templates/applicanteditpage.pt

    r15503 r15530  
    2222    <tbody>
    2323      <tal:widgets content="structure provider:widgets" />
    24       <tr>
     24      <tr tal:condition="python: context.__parent__.with_picture">
    2525        <td class="fieldname" i18n:translate="">
    2626          Passport Photo:
     
    6868          <span tal:replace="view/max_file_upload_size">10 KB</span>
    6969      </tr>
     70      <tr tal:condition="python: view.target in ('ver',)">
     71        <td class="fieldname" i18n:translate="">
     72          Scanned Document:
     73        </td>
     74        <td>
     75          <p tal:condition="python: view.file_exists('verificationdoc.pdf')">
     76            <a href="verificationdoc.pdf"
     77               i18n:translate="">
     78              Download pdf file
     79            </a>
     80          </p>
     81          <div class="input-group half">
     82            <div class="input-group-btn">
     83              <div class="btn btn-default btn-file">
     84                Select&hellip;
     85              <input type="file" name="form.verificationdoc" />
     86              </div>
     87            </div>
     88            <input type="text" class="form-control" readonly>
     89          </div>
     90          <span i18n:translate="">
     91            PDF files only. Max. file size:
     92          </span>
     93          <span tal:replace="view/max_file_upload_size">10 KB</span>
     94      </tr>
    7095      <tr tal:condition="view/manage_applications">
    7196        <td class="fieldname" i18n:translate="">Password:</td>
Note: See TracChangeset for help on using the changeset viewer.