Version 2 (modified by 8 years ago) (diff) | ,
---|
Contents
Use templates from the wiki when creating milestones.
Description
Any wiki page with a name starting with MilestoneTemplates/ can be used as a template. This works in a similar way as wiki page templates work (see PageTemplates).
Examples for milestone template names:
- MilestoneTemplates/MsTemplate
- MilestoneTemplates/MyMilestoneTemplate
Usage
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.
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.
[[TicketQuery(max=5,status=closed,milestone=$MILESTONE,format=table,col=resolution|summary|milestone)]]
Bugs/Feature Requests
Existing bugs and feature requests for MilestoneTemplatePlugin are here.
If you have any issues, create a new ticket.
defect |
2 / 2 |
|
---|---|---|
enhancement |
2 / 2 |
Download
Download the zipped source from here.
Source
You can check out MilestoneTemplatePlugin from here using Subversion, or browse the source with Trac.
Installation
General instructions on installing Trac plugins can be found on the TracPlugins page.
There are no default templates after installation. You need to create wiki pages with prefix MilestoneTemplates/ by yourself.
Examples for milestone template names:
- MilestoneTemplates/MsTemplate
- MilestoneTemplates/MyMilestoneTemplate
Recent Changes
- 17779 by Cinc-th on 2020-06-23 18:52:58
-
Corrected year in copyright file.
- 17778 by Cinc-th on 2020-06-23 18:45:44
-
- Don't use filter_stream() from ITemplateStreamFilter anymore.
- Disable preview for milestone description for Trac>1.2 because Trac 1.4 comes with a preview implementation
Plugin is now compatible with Trac >=1.2 without using Genshi.
Closes #13833
- 17777 by Cinc-th on 2020-06-22 05:44:23
-
No longer use Genshi templates when creating HTML fragments. Add a few test cases for checking fragments.
Closes #13832
(more)
Author/Contributors
Attachments (2)
-
milestone_select.png (41.9 KB) - added by 5 years ago.
Select a template when creating a new milestone
-
milestone_preview.png (53.9 KB) - added by 5 years ago.
Preview of milestone description
Download all attachments as: .zip