Changes between Version 4 and Version 5 of MilestoneTemplatePlugin
- Timestamp:
- Mar 20, 2016, 1:43:14 PM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
MilestoneTemplatePlugin
v4 v5 13 13 14 14 Additionally there is a preview of the milestone description (where you may use WikiFormatting) since version 0.1.1. 15 16 == Usage17 18 When creating a new milestone you may use a dropdown list for selecting a template. The contents of the template is used for the milestone description on creation. Note that the dropdown list is only available after creation of one or more template pages.19 20 Milestone templates may use the variable ''$MILESTONE'' for inserting the chosen milestone name into the description. This may be useful if the template contains a TracQuery with milestone parameter.21 22 {{{23 [[TicketQuery(max=5,status=closed,milestone=$MILESTONE,format=table,col=resolution|summary|milestone)]]24 }}}25 15 26 16 == !Bugs/Feature Requests … … 46 36 General instructions on installing Trac plugins can be found on the [TracPlugins#InstallingaTracplugin TracPlugins] page. 47 37 48 Enable the plugin by going to the plugin admin page or by adding the following to your configuration file:38 Enable the plugin by going to the plugin admin page or by adding the following to your `trac.ini` configuration file: 49 39 {{{#!ini 50 40 [components] … … 54 44 There are no default templates after installation. You need to create wiki pages with prefix ''!MilestoneTemplates/'' by yourself. 55 45 46 == Usage 47 56 48 Examples for milestone template names: 57 49 … … 59 51 * !MilestoneTemplates/MyMilestoneTemplate 60 52 53 When creating a new milestone you may use a dropdown list for selecting a template. The contents of the template is used for the milestone description on creation. Note that the dropdown list is only available after creation of one or more template pages. 61 54 55 Milestone templates may use the variable ''$MILESTONE'' for inserting the chosen milestone name into the description. This may be useful if the template contains a TracQuery with milestone parameter. 62 56 57 {{{ 58 [[TicketQuery(max=5,status=closed,milestone=$MILESTONE,format=table,col=resolution|summary|milestone)]] 59 }}} 63 60 64 61 == Recent Changes