Mercurial > p > roundup > code
changeset 2488:eb1aa3c22d8a
hide "(list)" popup links when issue is only viewable
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Mon, 21 Jun 2004 06:02:28 +0000 |
| parents | d7488e349a03 |
| children | b81c9679f5de |
| files | CHANGES.txt templates/classic/html/issue.item.html |
| diffstat | 2 files changed, 4 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/CHANGES.txt Mon Jun 21 05:44:16 2004 +0000 +++ b/CHANGES.txt Mon Jun 21 06:02:28 2004 +0000 @@ -12,6 +12,7 @@ - add a default argument to the DateHTMLProperty.field method, and an optional Interval (string or object) to the DateHTMLProperty.now (patch from Vickenty Fesunov) +- hide "(list)" popup links when issue is only viewable 2004-??-?? 0.7.5
--- a/templates/classic/html/issue.item.html Mon Jun 21 05:44:16 2004 +0000 +++ b/templates/classic/html/issue.item.html Mon Jun 21 06:02:28 2004 +0000 @@ -45,7 +45,7 @@ <th i18n:translate="">Superseder</th> <td> <span tal:replace="structure python:context.superseder.field(showid=1, size=20)" /> - <span tal:replace="structure python:db.issue.classhelp('id,title', property='superseder')" /> + <span tal:condition="context/is_edit_ok" tal:replace="structure python:db.issue.classhelp('id,title', property='superseder')" /> <span tal:condition="context/superseder" tal:repeat="sup context/superseder"> <br><span i18n:translate="">View: <a i18n:name="link" tal:content="sup/id" tal:attributes="href string:issue${sup/id}"></a></span> @@ -54,7 +54,7 @@ <th i18n:translate="">Nosy List</th> <td> <span tal:replace="structure context/nosy/field" /> - <span tal:replace="structure + <span tal:condition="context/is_edit_ok" tal:replace="structure python:db.user.classhelp('username,realname,address', property='nosy', width='600')" /><br> </td> </tr> @@ -65,7 +65,7 @@ <th i18n:translate="">Topics</th> <td> <span tal:replace="structure context/topic/field" /> - <span tal:replace="structure python:db.keyword.classhelp(property='topic')" /> + <span tal:condition="context/is_edit_ok" tal:replace="structure python:db.keyword.classhelp(property='topic')" /> </td> </tr>
