Ignore:
Timestamp:
10 Jun 2011, 08:26:06 (13 years ago)
Author:
Henrik Bettermann
Message:

Provide application state as a (property) method of Applicant. This allows displaying the state of Applicant objects on ApplicantsContainer? form pages.

File:
1 edited

Legend:

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

    r6206 r6324  
    8282        </thead>
    8383        <tbody>
    84           <tr tal:repeat="appl context/values"> <td>
    85               <input type="checkbox" name="val_id" tal:attributes="value appl/__name__" /> </td> <td>
     84          <tr tal:repeat="appl context/values">
     85            <td>
     86              <input type="checkbox" name="val_id" tal:attributes="value appl/__name__" />
     87            </td>
     88            <td>
    8689              <a tal:attributes="href python: view.url(appl)"
    87                  tal:content="appl/__name__"> ID </a> </td> <td>
    88               <span tal:condition="not: appl/locked">in progress
    89               </span>
    90               <span tal:condition="appl/locked">submitted
    91               </span> </td>
     90                 tal:content="appl/__name__"> ID </a>
     91            </td>
     92            <td>
     93              <span tal:replace="appl/getApplicationState">state</span>
     94            </td>
    9295          </tr>
    9396        </tbody>
Note: See TracChangeset for help on using the changeset viewer.