Mercurial > p > roundup > code
comparison templates/classic/html/user.index.html @ 3742:a9f6eb633452
nicer "permission required" messages (patch [SF#1558183])
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Thu, 09 Nov 2006 01:26:29 +0000 |
| parents | 021b131bd816 |
| children |
comparison
equal
deleted
inserted
replaced
| 3741:f9efa4ad9d96 | 3742:a9f6eb633452 |
|---|---|
| 4 i18n:name="tracker" tal:replace="config/TRACKER_NAME" /></title> | 4 i18n:name="tracker" tal:replace="config/TRACKER_NAME" /></title> |
| 5 <span metal:fill-slot="body_title" tal:omit-tag="python:1" | 5 <span metal:fill-slot="body_title" tal:omit-tag="python:1" |
| 6 i18n:translate="">User listing</span> | 6 i18n:translate="">User listing</span> |
| 7 <td class="content" metal:fill-slot="content"> | 7 <td class="content" metal:fill-slot="content"> |
| 8 | 8 |
| 9 <span tal:condition="not:context/is_view_ok" | 9 <span tal:condition="python:not (context.is_view_ok() |
| 10 or request.user.hasRole('Anonymous'))" | |
| 10 i18n:translate="">You are not allowed to view this page.</span> | 11 i18n:translate="">You are not allowed to view this page.</span> |
| 12 | |
| 13 <span tal:condition="python:not context.is_view_ok() | |
| 14 and request.user.hasRole('Anonymous')" | |
| 15 i18n:translate="">Please login with your username and password.</span> | |
| 11 | 16 |
| 12 <table width="100%" tal:condition="context/is_view_ok" class="list"> | 17 <table width="100%" tal:condition="context/is_view_ok" class="list"> |
| 13 <tr> | 18 <tr> |
| 14 <th i18n:translate="">Username</th> | 19 <th i18n:translate="">Username</th> |
| 15 <th i18n:translate="">Real name</th> | 20 <th i18n:translate="">Real name</th> |
