diff templates/classic/html/user.item.html @ 3120:ac1803a09920 maint-0.8

far more merging from HEAD than is good
author Richard Jones <richard@users.sourceforge.net>
date Fri, 28 Jan 2005 04:10:22 +0000
parents 97f810f39d16
children 74268c847ace
line wrap: on
line diff
--- a/templates/classic/html/user.item.html	Thu Jan 27 06:51:16 2005 +0000
+++ b/templates/classic/html/user.item.html	Fri Jan 28 04:10:22 2005 +0000
@@ -25,6 +25,11 @@
 
 <td class="content" metal:fill-slot="content">
 
+<p tal:condition="not:context/is_view_ok" i18n:translate="">You are not
+    allowed to view this page.</p>
+
+<div tal:condition="context/is_view_ok">
+
 <form method="POST" onSubmit="return submit_once()"
       enctype="multipart/form-data"
       tal:attributes="action context/designator">
@@ -94,7 +99,9 @@
 </table>
 </form>
 
-<tal:block tal:replace="structure context/history" />
+<tal:block tal:condition="context/id" tal:replace="structure context/history" />
+
+</div>
 
 </td>
 

Roundup Issue Tracker: http://roundup-tracker.org/