| 19 | diff --git a/trac/ticket/templates/milestone_view.html b/trac/ticket/templates/milestone_view.html |
| 20 | index c982990cf..af55e3163 100644 |
| 21 | --- a/trac/ticket/templates/milestone_view.html |
| 22 | +++ b/trac/ticket/templates/milestone_view.html |
| 23 | @@ -57,7 +57,9 @@ |
| 24 | ${_("No date set")} |
| 25 | # endif |
| 26 | </p> |
| 27 | - # include 'progress_bar.html' if stats.count ignore missing |
| 28 | + # if stats.count: |
| 29 | + # include 'progress_bar.html' ignore missing |
| 30 | + # endif |
| 31 | </div> |
| 32 | |
| 33 | # if available_groups and stats.count: |
| 34 | @@ -81,7 +83,9 @@ |
| 35 | </script> |
| 36 | </legend> |
| 37 | # with summary = _('Shows the milestone completion status grouped by %(grouped_by)s', grouped_by=grouped_by) |
| 38 | - # include 'progress_bar_grouped.html' if groups ignore missing |
| 39 | + # if groups: |
| 40 | + # include 'progress_bar_grouped.html' ignore missing |
| 41 | + # endif |
| 42 | # endwith |
| 43 | </fieldset> |
| 44 | </form> |
| 60 | diff --git a/trac/ticket/templates/roadmap.html b/trac/ticket/templates/roadmap.html |
| 61 | index a3b24910f..75db9d6d1 100644 |
| 62 | --- a/trac/ticket/templates/roadmap.html |
| 63 | +++ b/trac/ticket/templates/roadmap.html |
| 64 | @@ -95,7 +95,9 @@ |
| 65 | # set stats = mstats.stats |
| 66 | # set interval_hrefs = mstats.interval_hrefs |
| 67 | # set stats_href = mstats.stats_href |
| 68 | - # include 'progress_bar.html' if stats.count ignore missing |
| 69 | + # if stats.count: |
| 70 | + # include 'progress_bar.html' ignore missing |
| 71 | + # endif |
| 72 | # endwith |
| 73 | </div> |