Mercurial > p > roundup > code
annotate templates/minimal/html/user.item.html @ 3548:61d48244e7a8
login may now be for a single session
trackers may hide exceptions from web users (they will be mailed to the
tracker admin)
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Wed, 08 Feb 2006 03:47:28 +0000 |
| parents | 927759deb5ec |
| children | b11142bb2aa2 |
| rev | line source |
|---|---|
|
1591
21312a7564fd
moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
1 <!-- dollarId: user.item,v 1.7 2002/08/16 04:29:04 richard Exp dollar--> |
|
21312a7564fd
moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
2 <tal:block metal:use-macro="templates/page/macros/icing"> |
|
3508
927759deb5ec
sync with classic template
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2444
diff
changeset
|
3 <title metal:fill-slot="head_title"> |
|
927759deb5ec
sync with classic template
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2444
diff
changeset
|
4 <tal:block condition="context/id" i18n:translate="" |
|
927759deb5ec
sync with classic template
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2444
diff
changeset
|
5 >User <span tal:replace="context/id" i18n:name="id" |
|
927759deb5ec
sync with classic template
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2444
diff
changeset
|
6 />: <span tal:replace="context/username" i18n:name="title" |
|
927759deb5ec
sync with classic template
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2444
diff
changeset
|
7 /> - <span tal:replace="config/TRACKER_NAME" i18n:name="tracker" |
|
927759deb5ec
sync with classic template
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2444
diff
changeset
|
8 /></tal:block> |
|
927759deb5ec
sync with classic template
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2444
diff
changeset
|
9 <tal:block condition="not:context/id" i18n:translate="" |
|
927759deb5ec
sync with classic template
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2444
diff
changeset
|
10 >New User - <span tal:replace="config/TRACKER_NAME" i18n:name="tracker" |
|
927759deb5ec
sync with classic template
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2444
diff
changeset
|
11 /></tal:block> |
|
927759deb5ec
sync with classic template
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2444
diff
changeset
|
12 </title> |
|
2444
22fb3d867b64
display "New User" instead of "UserNone" in the body title
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2430
diff
changeset
|
13 <tal:block metal:fill-slot="body_title"> |
|
22fb3d867b64
display "New User" instead of "UserNone" in the body title
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2430
diff
changeset
|
14 <span tal:condition="python: not (context.id or context.is_edit_ok())" |
|
22fb3d867b64
display "New User" instead of "UserNone" in the body title
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2430
diff
changeset
|
15 tal:omit-tag="python:1" i18n:translate="">New User</span> |
|
22fb3d867b64
display "New User" instead of "UserNone" in the body title
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2430
diff
changeset
|
16 <span tal:condition="python: not context.id and context.is_edit_ok()" |
|
22fb3d867b64
display "New User" instead of "UserNone" in the body title
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2430
diff
changeset
|
17 tal:omit-tag="python:1" i18n:translate="">New User Editing</span> |
|
22fb3d867b64
display "New User" instead of "UserNone" in the body title
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2430
diff
changeset
|
18 <span tal:condition="python: context.id and not context.is_edit_ok()" |
|
22fb3d867b64
display "New User" instead of "UserNone" in the body title
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2430
diff
changeset
|
19 tal:omit-tag="python:1" i18n:translate="">User<tal:x |
|
22fb3d867b64
display "New User" instead of "UserNone" in the body title
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2430
diff
changeset
|
20 replace="context/id" i18n:name="id" /></span> |
|
22fb3d867b64
display "New User" instead of "UserNone" in the body title
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2430
diff
changeset
|
21 <span tal:condition="python: context.id and context.is_edit_ok()" |
|
22fb3d867b64
display "New User" instead of "UserNone" in the body title
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2430
diff
changeset
|
22 tal:omit-tag="python:1" i18n:translate="">User<tal:x |
|
22fb3d867b64
display "New User" instead of "UserNone" in the body title
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2430
diff
changeset
|
23 replace="context/id" i18n:name="id" /> Editing</span> |
|
22fb3d867b64
display "New User" instead of "UserNone" in the body title
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2430
diff
changeset
|
24 </tal:block> |
|
3508
927759deb5ec
sync with classic template
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2444
diff
changeset
|
25 |
|
1591
21312a7564fd
moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
26 <td class="content" metal:fill-slot="content"> |
|
3508
927759deb5ec
sync with classic template
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2444
diff
changeset
|
27 |
|
927759deb5ec
sync with classic template
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2444
diff
changeset
|
28 <p tal:condition="not:context/is_view_ok" i18n:translate=""> |
|
927759deb5ec
sync with classic template
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2444
diff
changeset
|
29 You are not allowed to view this page. |
|
927759deb5ec
sync with classic template
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2444
diff
changeset
|
30 </p> |
|
927759deb5ec
sync with classic template
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2444
diff
changeset
|
31 |
|
927759deb5ec
sync with classic template
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2444
diff
changeset
|
32 <div tal:condition="context/is_view_ok"> |
|
1591
21312a7564fd
moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
33 |
|
21312a7564fd
moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
34 <form method="POST" onSubmit="return submit_once()" |
|
3508
927759deb5ec
sync with classic template
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2444
diff
changeset
|
35 enctype="multipart/form-data" |
|
927759deb5ec
sync with classic template
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2444
diff
changeset
|
36 tal:attributes="action context/designator"> |
|
1591
21312a7564fd
moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
37 |
|
21312a7564fd
moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
38 <table class="form"> |
|
21312a7564fd
moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
39 <tr> |
|
3508
927759deb5ec
sync with classic template
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2444
diff
changeset
|
40 <th class="required" i18n:translate="">Login Name</th> |
|
1591
21312a7564fd
moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
41 <td tal:content="structure context/username/field">username</td> |
|
21312a7564fd
moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
42 </tr> |
|
3508
927759deb5ec
sync with classic template
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2444
diff
changeset
|
43 <tr tal:condition="context/is_edit_ok"> |
|
2430
e323c2d54a17
i18n markup
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
1976
diff
changeset
|
44 <th i18n:translate="">Login Password</th> |
|
1591
21312a7564fd
moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
45 <td tal:content="structure context/password/field">password</td> |
|
21312a7564fd
moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
46 </tr> |
|
3508
927759deb5ec
sync with classic template
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2444
diff
changeset
|
47 <tr tal:condition="context/is_edit_ok"> |
|
2430
e323c2d54a17
i18n markup
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
1976
diff
changeset
|
48 <th i18n:translate="">Confirm Password</th> |
|
1591
21312a7564fd
moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
49 <td tal:content="structure context/password/confirm">password</td> |
|
21312a7564fd
moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
50 </tr> |
|
21312a7564fd
moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
51 <tr tal:condition="python:request.user.hasPermission('Web Roles')"> |
|
2430
e323c2d54a17
i18n markup
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
1976
diff
changeset
|
52 <th i18n:translate="">Roles</th> |
|
3508
927759deb5ec
sync with classic template
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2444
diff
changeset
|
53 <td> |
|
927759deb5ec
sync with classic template
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2444
diff
changeset
|
54 <input tal:condition="context/id" |
|
927759deb5ec
sync with classic template
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2444
diff
changeset
|
55 tal:replace="structure context/roles/field"> |
|
927759deb5ec
sync with classic template
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2444
diff
changeset
|
56 <input name="roles" tal:condition="not:context/id" |
|
927759deb5ec
sync with classic template
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2444
diff
changeset
|
57 tal:attributes="value db/config/NEW_WEB_USER_ROLES"> |
|
927759deb5ec
sync with classic template
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2444
diff
changeset
|
58 <tal:block i18n:translate="">(to give the user more than one role, |
|
927759deb5ec
sync with classic template
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2444
diff
changeset
|
59 enter a comma,separated,list)</tal:block> |
|
1591
21312a7564fd
moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
60 </td> |
|
21312a7564fd
moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
61 </tr> |
|
21312a7564fd
moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
62 <tr> |
|
3508
927759deb5ec
sync with classic template
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2444
diff
changeset
|
63 <th class="required" i18n:translate="">E-mail address</th> |
|
927759deb5ec
sync with classic template
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2444
diff
changeset
|
64 <td tal:define="mailto context/address/field"> |
|
927759deb5ec
sync with classic template
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2444
diff
changeset
|
65 <a tal:condition="not:context/is_edit_ok" |
|
927759deb5ec
sync with classic template
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2444
diff
changeset
|
66 tal:attributes="href string:mailto:${mailto}" tal:content="mailto" |
|
927759deb5ec
sync with classic template
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2444
diff
changeset
|
67 /><span tal:condition="context/is_edit_ok" tal:replace="structure mailto" /> |
|
927759deb5ec
sync with classic template
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2444
diff
changeset
|
68 </td> |
|
1591
21312a7564fd
moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
69 </tr> |
|
21312a7564fd
moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
70 <tr> |
|
2430
e323c2d54a17
i18n markup
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
1976
diff
changeset
|
71 <th i18n:translate="">Alternate E-mail addresses<br>One address per line</th> |
|
1591
21312a7564fd
moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
72 <td tal:content="structure context/alternate_addresses/multiline">alternate_addresses</td> |
|
21312a7564fd
moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
73 </tr> |
|
21312a7564fd
moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
74 |
|
3508
927759deb5ec
sync with classic template
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2444
diff
changeset
|
75 <tr tal:condition="context/is_edit_ok"> |
|
927759deb5ec
sync with classic template
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2444
diff
changeset
|
76 <td> |
|
927759deb5ec
sync with classic template
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2444
diff
changeset
|
77 |
|
927759deb5ec
sync with classic template
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2444
diff
changeset
|
78 <input type="hidden" name="@template" value="item"> |
|
1911
f5c804379c85
fixed ZRoundup - mostly changes to classic template
Richard Jones <richard@users.sourceforge.net>
parents:
1591
diff
changeset
|
79 <input type="hidden" name="@required" value="username,address"> |
|
f5c804379c85
fixed ZRoundup - mostly changes to classic template
Richard Jones <richard@users.sourceforge.net>
parents:
1591
diff
changeset
|
80 </td> |
|
1591
21312a7564fd
moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
81 <td tal:content="structure context/submit">submit button here</td> |
|
21312a7564fd
moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
82 </tr> |
|
21312a7564fd
moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
83 </table> |
|
21312a7564fd
moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
84 </form> |
|
21312a7564fd
moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
85 |
|
3508
927759deb5ec
sync with classic template
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2444
diff
changeset
|
86 <tal:block tal:condition="not:context/id" i18n:translate=""> |
|
927759deb5ec
sync with classic template
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2444
diff
changeset
|
87 <table class="form"> |
|
927759deb5ec
sync with classic template
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2444
diff
changeset
|
88 <tr> |
|
927759deb5ec
sync with classic template
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2444
diff
changeset
|
89 <td>Note: </td> |
|
927759deb5ec
sync with classic template
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2444
diff
changeset
|
90 <th class="required">highlighted</th> |
|
927759deb5ec
sync with classic template
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2444
diff
changeset
|
91 <td> fields are required.</td> |
|
927759deb5ec
sync with classic template
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2444
diff
changeset
|
92 </tr> |
|
1591
21312a7564fd
moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
93 </table> |
|
3508
927759deb5ec
sync with classic template
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2444
diff
changeset
|
94 </tal:block> |
|
1591
21312a7564fd
moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
95 |
|
3508
927759deb5ec
sync with classic template
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2444
diff
changeset
|
96 <tal:block tal:condition="context/id" tal:replace="structure context/history" /> |
|
927759deb5ec
sync with classic template
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2444
diff
changeset
|
97 |
|
927759deb5ec
sync with classic template
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2444
diff
changeset
|
98 </div> |
|
1591
21312a7564fd
moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
99 |
|
21312a7564fd
moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
100 </td> |
|
21312a7564fd
moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
101 |
|
21312a7564fd
moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
102 </tal:block> |
