| 1 | [[PageOutline(2-5,Contents,pullout)]] |
| 2 | |
| 3 | = Chart Of Upcoming Milestones Macro = |
| 4 | |
| 5 | == Description == |
| 6 | |
| 7 | It is very useful to get a short survey about all milestone dates in Trac instances with many milestones, especially because of many projects. This macro automatically generates such chart. |
| 8 | |
| 9 | You may put in a news box. Overdue dates can be displayed colored. The milestone chart is sorted by date. You can set a filter which milestones are displayed by setting an SQL-like pattern. |
| 10 | |
| 11 | == Bugs/Feature Requests == |
| 12 | |
| 13 | Existing bugs and feature requests for UpcomingMilestonesChartMacro are |
| 14 | [report:9?COMPONENT=UpcomingMilestonesChartMacro here]. |
| 15 | |
| 16 | If you have any issues, create a |
| 17 | [http://trac-hacks.org/newticket?component=UpcomingMilestonesChartMacro&owner=falkb new ticket]. |
| 18 | |
| 19 | == Download == |
| 20 | |
| 21 | Download the zipped source from [download:upcomingmilestoneschartmacro here]. |
| 22 | |
| 23 | == Source == |
| 24 | |
| 25 | You can check out UpcomingMilestonesChartMacro from [http://trac-hacks.org/svn/upcomingmilestoneschartmacro here] using Subversion, or [source:upcomingmilestoneschartmacro browse the source] with Trac. |
| 26 | |
| 27 | == Example == |
| 28 | |
| 29 | You can see here how to use this macro: |
| 30 | |
| 31 | {{{ |
| 32 | [[UpcomingMilestonesChart(%-%,10,Next Milestone Dates,yellow)]] |
| 33 | }}} |
| 34 | |
| 35 | The example sets |
| 36 | * an SQL filter pattern {{{ %-% }}} means here only to display milestones containing a minus in the middle of the name |
| 37 | * a maximum of 10 milestones |
| 38 | * a title |
| 39 | * the color of overdue milestones |
| 40 | |
| 41 | It is displayed then as |
| 42 | |
| 43 | [[Image(exampleMilestoneChart.PNG)]] |
| 44 | |
| 45 | based on these milestones: |
| 46 | |
| 47 | [[Image(exampleMilestoneOverview.PNG)]] |
| 48 | |
| 49 | == Recent Changes == |
| 50 | |
| 51 | [[ChangeLog(upcomingmilestoneschartmacro, 3)]] |
| 52 | |
| 53 | == Author/Contributors == |
| 54 | |
| 55 | '''Author:''' [wiki:falkb] [[BR]] |
| 56 | '''Maintainer:''' [wiki:falkb] [[BR]] |
| 57 | '''Contributors:''' |