Code

Queries are no longer viewable to unauthorized users.
authorjlgijsbers <jlgijsbers@57a73879-2fb5-44c3-a270-3262357dd7e2>
Sun, 10 Aug 2003 18:51:49 +0000 (18:51 +0000)
committerjlgijsbers <jlgijsbers@57a73879-2fb5-44c3-a270-3262357dd7e2>
Sun, 10 Aug 2003 18:51:49 +0000 (18:51 +0000)
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1800 57a73879-2fb5-44c3-a270-3262357dd7e2

templates/classic/html/user.item.html

index 68328dae5fa56b98d83318c7967540f5ba9563f7..52c2219defba6983b9c631e8ce03033c4d967133 100644 (file)
@@ -78,7 +78,7 @@ You are not allowed to view this page.
 </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">