Premiere version : mise en route du suivi.
[auf_roundup.git] / share / roundup / templates / minimal / html / user.register.html
1 <!-- dollarId: user.item,v 1.7 2002/08/16 04:29:04 richard Exp dollar-->
2 <tal:block metal:use-macro="templates/page/macros/icing">
3 <title metal:fill-slot="head_title"
4 i18n:translate="">Registering with <span i18n:name="tracker"
5 tal:replace="db/config/TRACKER_NAME" /></title>
6 <span metal:fill-slot="body_title" tal:omit-tag="python:1"
7 i18n:translate="">Registering with <span i18n:name="tracker"
8 tal:replace="db/config/TRACKER_NAME" /></span>
9 <td class="content" metal:fill-slot="content">
10
11 <tal:block tal:define=" editok python:request.user.username=='anonymous' and
12 request.user.hasPermission('Web Registration')">
13
14 <span tal:condition="python:not (editok or request.user.hasRole('Anonymous'))"
15 i18n:translate="">You are not allowed to view this page.</span>
16
17 <span tal:condition="python:not editok and request.user.hasRole('Anonymous')"
18 i18n:translate="">Please login with your username and password.</span>
19
20 <tal:block tal:condition="editok">
21 <form method="POST" onSubmit="return submit_once()" enctype="multipart/form-data">
22 <input type="hidden" name=":template" value="register">
23 <input type="hidden" name=":required" value="username">
24 <input type="hidden" name=":required" value="password">
25 <input type="hidden" name=":required" value="address">
26
27 <table class="form">
28 <tr>
29 <th i18n:translate="">Login Name</th>
30 <td tal:content="structure context/username/field">username</td>
31 </tr>
32 <tr>
33 <th i18n:translate="">Login Password</th>
34 <td tal:content="structure context/password/field">password</td>
35 </tr>
36 <tr>
37 <th i18n:translate="">Confirm Password</th>
38 <td tal:content="structure context/password/confirm">password</td>
39 </tr>
40 <tr tal:condition="python:request.user.hasPermission('Web Roles')">
41 <th i18n:translate="">Roles</th>
42 <td tal:condition="exists:item"
43 tal:content="structure context/roles/field">roles</td>
44 <td tal:condition="not:exists:item">
45 <input name="roles" tal:attributes="value db/config/NEW_WEB_USER_ROLES">
46 </td>
47 </tr>
48 <tr>
49 <th i18n:translate="">E-mail address</th>
50 <td tal:content="structure context/address/field">address</td>
51 </tr>
52 <tr>
53 <th i18n:translate="">Alternate E-mail addresses<br>One address per line</th>
54 <td tal:content="structure context/alternate_addresses/multiline">alternate_addresses</td>
55 </tr>
56
57 <tr>
58 <td>&nbsp;</td>
59 <td>
60 <input type="hidden" name=":action" value="register">
61 <input type="submit" name="submit" value="Register" i18n:attributes="value">
62 </td>
63 </tr>
64 </table>
65 </form>
66
67 </tal:block>
68
69 </tal:block>
70
71 </td>
72
73 </tal:block>