Ignore:
Timestamp:
1 Dec 2011, 11:20:03 (13 years ago)
Author:
Henrik Bettermann
Message:

Show more details in applicants table.

File:
1 edited

Legend:

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

    r7213 r7245  
    5353      <div class="actionButtons" tal:condition="view/availableActions">
    5454        <span tal:repeat="action view/actions" tal:omit-tag="">
    55           <input tal:condition="python:action.label in view.taboneactions"  tal:replace="structure action/render"/>
     55          <input tal:condition="python:action.label in view.taboneactions"
     56                 tal:replace="structure action/render"/>
    5657        </span>
    5758      </div>
     
    6364            <th>&nbsp;
    6465            </th>
    65             <th>ID
     66            <th>Application Number
    6667            </th>
    67             <th>state
     68            <th>Full Name
     69            </th>
     70            <th>First Choice
     71            </th>
     72            <th>Application State
    6873            </th>
    6974          </tr>
    7075        </thead>
    7176        <tbody>
    72           <tr tal:repeat="appl context/values"> <td>
    73               <input type="checkbox" name="val_id" tal:attributes="value appl/__name__" /> </td> <td>
    74               <a tal:attributes="href python: view.url(appl)"  tal:content="appl/__name__"> ID </a> </td> <td>
    75               <span tal:replace="appl/state">state
    76               </span> </td>
     77          <tr tal:repeat="appl context/values">
     78            <td>
     79              <input type="checkbox" name="val_id" tal:attributes="value appl/__name__" />
     80            </td>
     81            <td>
     82              <a tal:attributes="href python: view.url(appl)"
     83                 tal:content="appl/__name__"> Number </a>
     84            </td>
     85            <td>
     86              <span tal:replace="appl/fullname">Fullname
     87              </span>
     88            </td>
     89            <td>
     90              <span tal:replace="appl/course1/code">First Choice
     91              </span>
     92            </td>
     93            <td>
     94              <span tal:replace="appl/state">State
     95              </span>
     96            </td>
    7797          </tr>
    7898        </tbody>
     
    80100      <div class="actionButtons" tal:condition="view/availableActions">
    81101        <span tal:repeat="action view/actions" tal:omit-tag="">
    82           <input tal:condition="python:action.label in view.tabtwoactions"  tal:replace="structure action/render"/>
     102          <input tal:condition="python:action.label in view.tabtwoactions"
     103                 tal:replace="structure action/render"/>
    83104        </span>
    84105      </div>
     
    100121        <tbody>
    101122          <tr tal:repeat="entry view/getUsersWithLocalRoles" class="gradeB"> <td>
    102               <input type="checkbox" name="role_id" tal:attributes="value python: entry['user_name']+'|'+entry['local_role']" /> </td>
     123              <input type="checkbox" name="role_id"
     124                tal:attributes="value python: entry['user_name']+'|'+entry['local_role']" /> </td>
    103125            <td tal:content="entry/user_name"> USERNAME  </td>
    104126            <td tal:content="entry/user_title"> USERTITLE  </td>
     
    109131      <div class="actionButtons" tal:condition="view/availableActions">
    110132        <span tal:repeat="action view/actions" tal:omit-tag="">
    111           <input tal:condition="python:action.label in view.tabthreeactions1" tal:replace="structure action/render"/>
     133          <input tal:condition="python:action.label in view.tabthreeactions1"
     134                  tal:replace="structure action/render"/>
    112135        </span>
    113136      </div> <br /><br />
     
    115138        <tr> <td>
    116139            <select id="user" name="user">
    117               <option tal:repeat="user view/getUsers" tal:attributes="value user/name">
     140              <option tal:repeat="user view/getUsers"
     141                      tal:attributes="value user/name">
    118142              <span tal:replace="user/val/title">USERTITLE
    119143              </span>
     
    121145            </select> </td> <td>
    122146            <select id="local_role" name="local_role">
    123               <option tal:repeat="localrole view/getLocalRoles" tal:attributes="value localrole/name">
     147              <option tal:repeat="localrole view/getLocalRoles"
     148                      tal:attributes="value localrole/name">
    124149              <span tal:replace="localrole/title">LOCALROLETITLE
    125150              </span>
     
    128153            <div tal:condition="view/availableActions">
    129154              <span tal:repeat="action view/actions" tal:omit-tag="">
    130                 <input tal:condition="python:action.label in view.tabthreeactions2" tal:replace="structure action/render"/>
     155                <input tal:condition="python:action.label in view.tabthreeactions2"
     156                       tal:replace="structure action/render"/>
    131157              </span>
    132158            </div> </td>
Note: See TracChangeset for help on using the changeset viewer.