summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 8a8307b)
raw | patch | inline | side by side (parent: 8a8307b)
author | stefan <stefan@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Wed, 17 Jun 2009 15:06:22 +0000 (15:06 +0000) | ||
committer | stefan <stefan@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Wed, 17 Jun 2009 15:06:22 +0000 (15:06 +0000) |
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4226 57a73879-2fb5-44c3-a270-3262357dd7e2
share/roundup/templates/minimal/html/user.item.html | patch | blob | history |
diff --git a/share/roundup/templates/minimal/html/user.item.html b/share/roundup/templates/minimal/html/user.item.html
index bafccd260b8f7196cc95e00abecbee91bde30a4c..afeb71a726f0734ff47cffe98376e8fcdb4b65b9 100644 (file)
-<!-- dollarId: user.item,v 1.7 2002/08/16 04:29:04 richard Exp dollar-->
<tal:doc metal:use-macro="templates/page/macros/icing"
define="edit_ok context/is_edit_ok"
>
confirm_input templates/page/macros/user_confirm_input;
edit_ok context/is_edit_ok;
">
- <tr tal:define="name string:realname; label string:Name; value context/realname; edit_ok edit_ok">
- <th metal:use-macro="th_label">Name</th>
- <td><input name="realname" metal:use-macro="src_input"></td>
- </tr>
<tr tal:define="name string:username; label string:Login Name; value context/username">
<th metal:use-macro="th_label">Login Name</th>
<td><input metal:use-macro="src_input"></td>
</tr>
</tal:if>
- <tr tal:define="name string:phone; label string:Phone; value context/phone">
- <th metal:use-macro="th_label">Phone</th>
- <td><input name="phone" metal:use-macro="normal_input"></td>
- </tr>
-
- <tr tal:define="name string:organisation; label string:Organisation; value context/organisation">
- <th metal:use-macro="th_label">Organisation</th>
- <td><input name="organisation" metal:use-macro="normal_input"></td>
- </tr>
-
- <tr tal:condition="python:edit_ok or context.timezone"
- tal:define="name string:timezone; label string:Timezone; value context/timezone">
- <th metal:use-macro="th_label">Timezone</th>
- <td><input name="timezone" metal:use-macro="normal_input">
- <tal:block tal:condition="edit_ok" i18n:translate="">(this is a numeric hour offset, the default is
- <span tal:replace="db/config/DEFAULT_TIMEZONE" i18n:name="zone"
- />)</tal:block>
- </td>
- </tr>
-
- <tr tal:define="name string:address; label string:E-mail address; value context/address">
- <th metal:use-macro="th_label">E-mail address</th>
- <td tal:define="mailto python:context.address.field(id='address');
- mklink python:mailto and not edit_ok">
- <a href="mailto:calvin@the-z.org"
- tal:attributes="href string:mailto:$value"
- tal:content="value"
- tal:condition="python:mklink">calvin@the-z.org</a>
- <tal:if condition=edit_ok>
- <input metal:use-macro="src_input" value="calvin@the-z.org">
- </tal:if>
-
- </td>
- </tr>
-
- <tr>
- <th><label for="alternate_addresses" i18n:translate="">Alternate E-mail addresses<br>One address per line</label></th>
- <td>
- <textarea rows=5 cols=40 tal:replace="structure context/alternate_addresses/multiline">nobody@nowhere.org
-anybody@everywhere.net
-(alternate_addresses)
- </textarea>
- </td>
- </tr>
-
<tr tal:condition="edit_ok">
<td>