Changeset 5930 for main/waeup.sirp/trunk/src/waeup/sirp/browser/templates
- Timestamp:
- 12 Apr 2011, 11:47:46 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/facultypage.pt
r5917 r5930 1 1 <h2>Departments</h2> 2 2 3 3 4 5 6 4 <div tal:condition="python: not len(context.keys())"> 5 There are no departments registered yet. 6 </div> 7 7 8 <div name="thedepartmenttable" tal:condition="python: len(context.keys())"> 9 <div tal:replace="structure view/table/renderHTML" /> 10 </div> 8 <table class="zebra"> 9 <thead> 10 <tr> 11 <th>Code</th> 12 <th>Title</th> 13 <th> </th> 14 </tr> 15 </thead> 16 <tbody> 17 <tr tal:repeat="value context/values" 18 tal:attributes="class python: repeat['value'].odd() and 'odd' or 'even'"> 19 <td> <a tal:attributes="href value/__name__"> <span tal:content="value/code">Name</span></a></td> 20 <td tal:content="value/title">Title</td> 21 <td class="text-right"> 22 <form method="post"> 23 <input type="hidden" name="code" 24 tal:attributes="value value/__name__"/> 25 <input type="submit" name="delete" value="remove" 26 onclick="return confirmPost('All courses and certificates of this faculty will be removed too. Are you sure?')"> 27 </form> 28 </td> 29 </tr> 30 </tbody> 31 </table>
Note: See TracChangeset for help on using the changeset viewer.