Mercurial > p > roundup > code
view templates/classic/html/user.item.html @ 3014:fa49f3fe6afa maint-0.7
merge from HEAD
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Wed, 15 Dec 2004 00:07:58 +0000 |
| parents | f9200f897369 |
| children | 97f810f39d16 |
line wrap: on
line source
<!-- dollarId: user.item,v 1.7 2002/08/16 04:29:04 richard Exp dollar--> <tal:block metal:use-macro="templates/page/macros/icing"> <title metal:fill-slot="head_title"> <span tal:condition="context/id" tal:replace="string:User ${context/id}: ${context/username}" /> <tal:x tal:condition="not:context/id">New User</tal:x> - <span tal:replace="config/TRACKER_NAME" /> </title> <span metal:fill-slot="body_title" tal:omit-tag="python:1"> User<span tal:replace="context/id" /> <tal:x tal:condition="context/is_edit_ok">Editing</tal:x> </span> <td class="content" metal:fill-slot="content"> <form method="POST" onSubmit="return submit_once()" enctype="multipart/form-data" tal:attributes="action context/designator"> <table class="form"> <tr> <th>Name</th> <td tal:content="structure context/realname/field">realname</td> </tr> <tr> <th>Login Name</th> <td tal:content="structure context/username/field">username</td> </tr> <tr> <th>Login Password</th> <td tal:content="structure context/password/field">password</td> </tr> <tr> <th>Confirm Password</th> <td tal:content="structure context/password/confirm">password</td> </tr> <tr tal:condition="python:request.user.hasPermission('Web Roles')"> <th>Roles</th> <td> <input tal:condition="context/id" tal:replace="structure context/roles/field"> <input name="roles" tal:condition="not:context/id" tal:attributes="value db/config/NEW_WEB_USER_ROLES"> (to give the user more than one role, enter a comma,separated,list) </td> </tr> <tr> <th>Phone</th> <td tal:content="structure context/phone/field">phone</td> </tr> <tr> <th>Organisation</th> <td tal:content="structure context/organisation/field">organisation</td> </tr> <tr> <th>Timezone</th> <td> <input tal:replace="structure context/timezone/field"> (this is a numeric hour offset, the default is <span tal:replace="db/config/DEFAULT_TIMEZONE" />) </td> </tr> <tr> <th>E-mail address</th> <td tal:content="structure context/address/field">address</td> </tr> <tr> <th>Alternate E-mail addresses<br>One address per line</th> <td tal:content="structure context/alternate_addresses/multiline">alternate_addresses</td> </tr> <tr> <td> <input type="hidden" name="@template" value="item"> <input type="hidden" name="@required" value="username,address"> </td> <td tal:content="structure context/submit">submit button here</td> </tr> </table> </form> <tal:block tal:replace="structure context/history" /> </td> </tal:block>
