diff templates/classic/html/user.item.html @ 1732:5ed17c4b840c

Queries are no longer viewable to unauthorized users.
author Johannes Gijsbers <jlgijsbers@users.sourceforge.net>
date Sun, 10 Aug 2003 18:51:49 +0000
parents 2dd6b4c825e9
children 4e4afbe3cd30
line wrap: on
line diff
--- a/templates/classic/html/user.item.html	Sun Aug 10 13:38:43 2003 +0000
+++ b/templates/classic/html/user.item.html	Sun Aug 10 18:51:49 2003 +0000
@@ -78,7 +78,7 @@
 </table>
 </form>
 
-<table class="otherinfo" tal:condition="context/queries">
+<table class="otherinfo" tal:condition="python:context.queries and context.is_view_ok()">
  <tr><th colspan="3" class="header">Queries</th></tr>
  <tr><th>Name</th><th colspan="2">Actions</th></tr>
  <tr tal:repeat="query context/queries">

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