Mercurial > p > roundup > code
diff roundup/templates/classic/html/user.index @ 1277:a9a3c378acc2
implemented "retire" cgi action, added to user index [SF#618612]
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Tue, 15 Oct 2002 06:37:21 +0000 |
| parents | 8dd4f736370b |
| children |
line wrap: on
line diff
--- a/roundup/templates/classic/html/user.index Tue Oct 15 06:27:58 2002 +0000 +++ b/roundup/templates/classic/html/user.index Tue Oct 15 06:37:21 2002 +0000 @@ -17,6 +17,7 @@ <th>Organisation</th> <th>Email address</th> <th>Phone number</th> + <th tal:condition="context/is_edit_ok">Retire</th> </tr> <tr tal:repeat="user context/list" tal:attributes="class python:['normal', 'alt'][repeat['user'].index%6/3]"> @@ -28,6 +29,10 @@ <td tal:content="user/organisation">organisation</td> <td tal:content="python:user.address.email()">address</td> <td tal:content="user/phone">phone</td> + <td tal:condition="context/is_edit_ok"> + <a tal:attributes="href string:user${user/id}?:action=retire&:template=index"> + retire</a> + </td> </tr> </table> </td>
