Opened 11 years ago
Last modified 10 years ago
#11361 closed enhancement
Hide batch modify form when there are no query results — at Initial Version
Reported by: | Ryan J Ollos | Owned by: | Ryan J Ollos |
---|---|---|---|
Priority: | normal | Milestone: | 1.0.2 |
Component: | ticket system | Version: | 1.0-stable |
Severity: | normal | Keywords: | batch-modify |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
The batch modify form is shown when there are no query results, however the Action fieldset is empty and the form can't serve any function.
The proposed change will hide the #batchmod_form
when there are no query results.
-
trac/ticket/templates/query.html
diff --git a/trac/ticket/templates/query.html b/trac/ticket/templates/query.html index 4f8e682..6de55dd 100644
a b 223 223 </form> 224 224 225 225 <xi:include href="query_results.html" /> 226 <xi:include py:if=" batch_modify" href="batch_modify.html" />226 <xi:include py:if="tickets and batch_modify" href="batch_modify.html" /> 227 227 228 228 <div id="trac-report-buttons" class="buttons" 229 229 py:with="edit = report_resource and 'REPORT_MODIFY' in perm(report_resource);
Note:
See TracTickets
for help on using tickets.