Ignore:
Timestamp:
14 May 2011, 14:19:59 (14 years ago)
Author:
Henrik Bettermann
Message:

Adding some attributes to ApplicantsContainer?. Generate title and code of containers automatically.

Location:
main/waeup.sirp/trunk/src/waeup/sirp/applicants/browser_templates
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/applicants/browser_templates/applicantscontainerpage.pt

    r6069 r6087  
    1 <h2 tal:content="context/title">Title</h2>
     1<h2 tal:content="view/label">Title</h2>
    22
    33<span tal:replace="structure view/widgets/description">Title</span>
  • main/waeup.sirp/trunk/src/waeup/sirp/applicants/browser_templates/applicantsrootpage.pt

    r6079 r6087  
    66  <thead>
    77    <tr>
    8       <th>Code</th><th>Title</th>
     8      <th>Year</th><th>Code</th><th>Title</th>
    99    </tr>
    1010  </thead>
     
    1212    <tr tal:repeat="entry context/values"
    1313        class="gradeB">
     14      <td tal:content="entry/year">Year
     15      </td>     
    1416      <td>
    1517        <a href=""
    1618           tal:attributes="href python:view.url(entry)"
    17            tal:content="entry/__name__"
    18            >Name</a>
     19           tal:content="entry/__name__">Code</a>
    1920      </td>
    20       <td tal:content="entry/title">
    21         Title
     21      <td tal:content="entry/title">Title
    2222      </td>
    2323    </tr>
  • main/waeup.sirp/trunk/src/waeup/sirp/applicants/browser_templates/form_manage_applicants_container.pt

    r6014 r6087  
    3131        <tbody>
    3232          <tal:block repeat="widget view/widgets">
     33            <tal:condition condition="python:widget.name not in ['form.title']">
    3334            <tr>
    3435              <td class="label" tal:define="hint widget/hint">
     
    5556              </td>
    5657            </tr>
     58            </tal:condition>
    5759          </tal:block>
    5860        </tbody>
Note: See TracChangeset for help on using the changeset viewer.