Ignore:
Timestamp:
14 Apr 2011, 08:31:02 (14 years ago)
Author:
Henrik Bettermann
Message:

Revert to removesubobjectspage instead of using remove buttons in index views.

Use zebra css class to distinguish odd and even table lines.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/facultycontainerpage.pt

    r5936 r5942  
    1010      <th>Code</th>
    1111      <th>Title</th>
    12       <th>&nbsp;</th>
    1312    </tr>
    1413  </thead>
    1514  <tbody>
    16     <tr tal:repeat="value context/values"
    17         tal:attributes="class python: repeat['value'].odd() and 'odd' or 'even'">
     15    <tr tal:repeat="value context/values">
    1816      <td> <a tal:attributes="href value/__name__"> <span tal:content="value/code">Name</span></a></td>
    1917      <td tal:content="value/title">Title</td>
    20       <td class="text-right">
    21       <form method="post">
    22          <input type="hidden" name="code"
    23                  tal:attributes="value value/__name__"/>
    24          <input type="submit" name="delete" value="remove"
    25                 onclick="return confirmPost('All departments and courses of this faculty will be removed too. Are you sure?')">
    26       </form>
    27        
    28       </td>
    2918    </tr>
    3019  </tbody>
    3120</table>
    32 
    33 <div tal:content="structure provider:subobjectlist">
    34   List of subobjects
    35 </div>
Note: See TracChangeset for help on using the changeset viewer.