Ignore:
Timestamp:
24 Aug 2015, 06:34:28 (9 years ago)
Author:
Henrik Bettermann
Message:

Add pre-fill UI components.

Take unused records first during self-registration.

Location:
main/waeup.kofa/trunk/src/waeup/kofa/applicants/browser_templates
Files:
1 added
2 edited

Legend:

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

    r11254 r13217  
    3535    </div>
    3636    <div id="tab2" class="tab-pane">
     37    <br />
     38    This container contains <span tal:replace="python: context.counts[0]-context.counts[1]">UNUSED</span> unused pre-filled records.<br />
    3739    <tal:showApplicants  condition="view/showApplicants">
    3840      <br />
     
    5355        </thead>
    5456        <tbody>
    55           <tr tal:repeat="appl context/values">
     57          <tr tal:repeat="appl python:[appl for appl in context.values() if appl.container_code.endswith('+')]">
    5658            <td>
    5759              <input type="checkbox" name="val_id" tal:attributes="value appl/__name__" />
  • main/waeup.kofa/trunk/src/waeup/kofa/applicants/browser_templates/applicantsrootmanagepage.pt

    r11254 r13217  
    5454            <th i18n:translate="">Records
    5555            </th>
     56            <th i18n:translate="">Application Deadline
     57            </th>
    5658          </tr>
    5759        </thead>
     
    6567                tal:content="entry/__name__">CODE</a> </td>
    6668            <td tal:content="entry/title">TITLE</td>
    67             <td tal:content="python:len(entry)">YEAR</td>
     69            <td tal:content="python: len(entry)">RECORDS</td>
     70            <td><span tal:content="python: layout.formatDatetime(entry.enddate)">
     71                END</span></td>
    6872          </tr>
    6973        </tbody>
Note: See TracChangeset for help on using the changeset viewer.