Ignore:
Timestamp:
23 Aug 2018, 06:43:06 (6 years ago)
Author:
Henrik Bettermann
Message:

Implement the upload of pdf files in application section.

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

    r14304 r15113  
    3737      </td>
    3838    <tr>
     39    <tr tal:condition="python: view.target in ('trans',)">
     40      <td class="fieldname" i18n:translate="">
     41        Files:
     42      </td>
     43      <td>
     44        <span tal:replace="structure view/file_links" />
     45      </td>
     46    </tr>
    3947  </tbody>
    4048</table>
  • main/waeup.aaue/trunk/src/waeup/aaue/applicants/browser_templates/applicanteditpage.pt

    r14555 r15113  
    4242          </span>
    4343          <span tal:replace="view/max_upload_size">10 KB</span>
     44      </tr>
     45      <tr tal:condition="python: view.target in ('trans',)">
     46        <td class="fieldname" i18n:translate="">
     47          Statement of Result:
     48        </td>
     49        <td>
     50          <p tal:condition="python: view.file_exists('stateresult.pdf')">
     51            <a href="stateresult.pdf"
     52               i18n:translate="">
     53              Download pdf file
     54            </a>
     55          </p>
     56          <div class="input-group half">
     57            <div class="input-group-btn">
     58              <div class="btn btn-default btn-file">
     59                Select&hellip;
     60              <input type="file" name="form.stateresult" />
     61              </div>
     62            </div>
     63            <input type="text" class="form-control" readonly>
     64          </div>
     65          <span i18n:translate="">
     66            Max. file size:
     67          </span>
     68          <span tal:replace="view/max_file_upload_size">10 KB</span>
    4469      </tr>
    4570      <tr tal:condition="view/manage_applications">
Note: See TracChangeset for help on using the changeset viewer.