Edgewall Software

Ticket #7293: trac-report_args.diff

File trac-report_args.diff, 605 bytes (added by catalin.balan@…, 3 years ago)

Enabling dynamic report arguments form for reports with only one argument

  • trac/ticket/templates/report_view.html

     
    2424        ${wiki_to_html(context, description)} 
    2525      </div> 
    2626 
    27       <form py:if="report.id != -1 and len(args) > 1" method="get" action=""> 
     27      <form py:if="report.id != -1 and len(args) > 0" method="get" action=""> 
    2828        <fieldset id="filters" > 
    2929          <legend class="foldable">Arguments</legend> 
    3030          <table summary="Report arguments">