Skip to content

Commit 94c509b

Browse files
author
Richard Jones
committed
user editing Role entry help text always appears
1 parent cca0ba8 commit 94c509b

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

CHANGES.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ are given with the most recent entry first.
44
2004-??-?? 0.7.0
55
Fixed:
66
- sqlite migration drops some journal information (thanks David Linke)
7+
- user editing Role entry help text always appears
78

89

910
2004-04-18 0.7.0b3

templates/classic/html/user.item.html

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,11 @@
3939
</tr>
4040
<tr tal:condition="python:request.user.hasPermission('Web Roles')">
4141
<th>Roles</th>
42-
<td tal:condition="context/id"
43-
tal:content="structure context/roles/field">roles</td>
44-
<td tal:condition="not:context/id">
45-
<input name="roles" tal:attributes="value db/config/NEW_WEB_USER_ROLES">
42+
<td>
43+
<input tal:condition="context/id"
44+
tal:replace="structure context/roles/field">
45+
<input name="roles" tal:condition="not:context/id"
46+
tal:attributes="value db/config/NEW_WEB_USER_ROLES">
4647
(to give the user more than one role, enter a comma,separated,list)
4748
</td>
4849
</tr>

0 commit comments

Comments
 (0)