Ignore:
Timestamp:
22 Jun 2013, 07:43:52 (11 years ago)
Author:
Henrik Bettermann
Message:

Render public link to past-questions pdf file depending on course1 department code.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.uniben/trunk/src/waeup/uniben/applicants/browser_templates/applicanteditpage.pt

    r10287 r10338  
    1919  </div>
    2020
    21   <div tal:condition="python: view.target.startswith('putme') and
    22                               view.context.__parent__.year == 2014 and
    23                               view.context.state == 'paid'">
    24     <br />
    25     <a href="https://uniben.waeup.org/downloads/PastExercises.pdf"
     21  <h4 tal:condition="view/show_pastq_al">
     22    Download past questions
     23    <a href="https://uniben.waeup.org/downloads/ArtsAndLaw.pdf"
    2624        i18n:translate="">
    27       Download past questions to exercise.
    28     </a><br /><br />
    29   </div>
     25      'Arts And Law'
     26    </a>
     27     to exercise.
     28  </h4>
     29
     30  <h4 tal:condition="view/show_pastq_bs">
     31    Download past questions
     32    <a href="https://uniben.waeup.org/downloads/BiologicalSciences.pdf"
     33        i18n:translate="">
     34      'Biological Sciences'
     35    </a>
     36     to exercise.
     37  </h4>
     38
     39  <h4 tal:condition="view/show_pastq_eps">
     40    Download past questions
     41    <a href="https://uniben.waeup.org/downloads/EngineeringAndPhysicalSciences.pdf"
     42        i18n:translate="">
     43      'Engineering And Physical Sciences'
     44    </a>
     45     to exercise.
     46  </h4>
     47
     48  <h4 tal:condition="view/show_pastq_mss">
     49    Download past questions
     50    <a href="https://uniben.waeup.org/downloads/ManagementAndSocialSciences.pdf"
     51        i18n:translate="">
     52      'Management And Social Sciences'
     53    </a>
     54     to exercise.
     55  </h4>
    3056
    3157  <table class="form-table">
Note: See TracChangeset for help on using the changeset viewer.