comparison website/issues/html/query.item.html @ 5286:578b5294e888

Update to current classic config. Fixes issue with users being able to see all queries even ones that they do not own and are not public.
author John Rouillard <rouilj@ieee.org>
date Sun, 24 Sep 2017 19:13:04 -0400
parents c2d0d3e9099d
children
comparison
equal deleted inserted replaced
5285:dc91567358f8 5286:578b5294e888
1 <!-- query.item --> 1 <!-- query.item -->
2 <span tal:replace="structure context/renderQueryForm" /> 2 <span tal:condition="context/is_view_ok" tal:replace="structure
3 3 context/renderQueryForm" />
4 <tal:block tal:condition="not:context/is_view_ok">
5 <tal:block metal:use-macro="templates/page/macros/icing">
6 <title metal:fill-slot="head_title">You can not view query</title>
7 <tal:block metal:fill-slot="body_title">
8 You can not view query.
9 </tal:block>
10 <td class="content" metal:fill-slot="content">
11 You are not allowed to view <span tal:content="context/_classname"/>
12 with id <span tal:content="context/id"/>
13 </td>
14 </tal:block>
15 </tal:block>

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