Mercurial > p > roundup > code
diff roundup/templates/classic/html/user.item @ 1074:954ad22eb7d9
more doc, more cleanup
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Mon, 09 Sep 2002 01:59:43 +0000 |
| parents | cf30c6cdca02 |
| children | 04b44df7af1d |
line wrap: on
line diff
--- a/roundup/templates/classic/html/user.item Mon Sep 09 00:45:06 2002 +0000 +++ b/roundup/templates/classic/html/user.item Mon Sep 09 01:59:43 2002 +0000 @@ -28,9 +28,9 @@ </tr> <tr tal:condition="python:request.user.hasPermission('Web Roles')"> <th>Roles</th> - <td tal:condition="item/created" + <td tal:condition="context/id" tal:content="structure context/roles/field">roles</td> - <td tal:condition="not:item/created"> + <td tal:condition="not:context/id"> <input name="roles" tal:attributes="value db/config/NEW_WEB_USER_ROLES"> </td> </tr> @@ -58,7 +58,7 @@ </table> </form> -<tal:block tal:condition="item/created"> +<tal:block tal:condition="context/id"> <table class="otherinfo" tal:condition="context/queries"> <tr><th class="header">Queries</th></tr> <tr tal:repeat="query context/queries"> @@ -66,12 +66,8 @@ </tr> </table> - <table class="otherinfo"> - <tr><th class="header">History</th></tr> - <tr> - <td tal:content="structure context/history">history</td> - </tr> - </table> + <tal:block tal:replace="structure context/history" /> + </tal:block> </tal:block>
