| 56 | == [milestone-groups] == #milestone-groups-section |
| 57 | ''(since 0.11)'' |
| 58 | |
| 59 | As the workflow for tickets is now configurable, there can be many ticket states, |
| 60 | and simply displaying closed tickets vs. all the others is maybe not appropriate |
| 61 | in all cases. This section enables one to easily create ''groups'' of states |
| 62 | that will be shown in different colors in the milestone progress bar. |
| 63 | |
| 64 | Example configuration (which is also the default): |
| 65 | {{{ |
| 66 | closed = closed |
| 67 | closed.order = 0 # sequence number in the progress bar |
| 68 | closed.query_args = group=resolution # optional extra param for the query |
| 69 | closed.overall_completion = true # count for overall completion |
| 70 | |
| 71 | active = * # one catch-all group is allowed |
| 72 | active.order = 1 |
| 73 | active.css_class = open # CSS class for this interval |
| 74 | }}} |
| 75 | |
| 76 | The definition consists in a comma-separated list of accepted status. |
| 77 | Also, '*' means any status and could be used to associate all remaining |
| 78 | states to one catch-all group. |
| 79 | |
| 80 | The CSS class can be one of: new (yellow), open (no color) or |
| 81 | closed (green). New styles can easily be added using the following |
| 82 | selector: `table.progress td.<class>` |
| 83 | |