Ticket #5095: query-5095.patch
| File query-5095.patch, 1.3 KB (added by eblot, 20 months ago) |
|---|
-
trac/ticket/templates/query.html
186 186 <xi:include href="query_results.html" /> 187 187 188 188 <div class="buttons" py:with="edit = report and 'REPORT_MODIFY' in req.perm; 189 new = 'REPORT_CREATE' in req.perm"> 189 new = 'REPORT_CREATE' in req.perm; 190 delete = 'REPORT_DELETE' in req.perm"> 190 191 <form py:if="edit" method="get" action="${report.resource_href()}"> 191 192 <input type="hidden" name="action" value="edit" /> 192 193 <input type="submit" title="Edit the report {$report.id} corresponding to this query" … … 200 201 'Create a new report from current query'}" /> 201 202 <!--! FIXME: Genshi 0.4: 'Save updated query in report {%s}' --> 202 203 </form> 204 <form py:if="delete" method="get" action="${report.resource_href()}"> 205 <input type="hidden" name="action" value="delete" /> 206 <input type="submit" title="Delete the report {$report.id} corresponding to this query" 207 value="Delete Query" /> 208 </form> 203 209 </div> 204 210 205 211 <div id="help">
