The following plugin adds additional functionality to your Trac site. All changes can be implemented in the site'strac.ini
file.
TextAreaDescription
Shows next to a text area a description what the field is for, such as the description itself or any custom description.
Default values for options:
[ticket]description_descr=descr_template=<div>%s<div>
TextAreaDescription
- red box under "Beschreibung" (Description) andHtmlContent
(Editor):
CssTemplate
Add links to style sheets located in templates folder.
The stylesheet files (CSS files) starting with"all_templates"
are added for all Trac sites. TheCSS files starting with the template name (without.html
-suffix) are applied to the specific template.
To apply the changes you need to restart the Trac server.
Examples for files which resides in projectstemplates
folder:
all_templates_general.css | added to all Trac sites |
ticket_additional.css | only added forticket.html pages |
For a discussion in Trac about this topic, seeTrac ticket #9683.
CustomizedTicketView
Supports changes of the ticket view:
field-reporter
, so it cannot be changed anymoreReply
, so no comment can be made to any descriptionCustomizedTicketView
- creator "Ersteller" is disabled, so it cannot be changed:
See also:SimpleTicketPlugin
SortMilestoneVersion
Sorts drop-down lists of version and milestone regardless of the case and make milestone a mandatory field, when a default milestone is set.
Default behavior of Trac for sorting milestones is:
inbox, v1, v2, Inbox, V1, V2
This plugin sorts it as follows:
inbox, Inbox, v1, V1, v2, V2
SortMilestoneVersion
- milestones are sorted by name regardless of their case (uppercase "TBD" is next to lowercase "tbd"):
SortMilestoneVersion
- versions are sorted in alphabetical order instead of their due / completion date:
TicketNavigation
Implements an extra Navigation menu by dividing the main ticket information in several div areas and providing a "jump-to" to the areas which are represented in the navigation box.
TicketNavigation
- list of headers are as toolbox under mainnav:
Existing bugs and feature requests forTicketNavPlugin arehere.
If you have any issues, create anew ticket.
enhancement | 0 / 2 | ||
---|---|---|---|
task | 1 / 1 |
Download the zipped source fromhere.
Or download the pre-compiledPython egg.
You can check outTicketNavPlugin fromhere using Subversion, orbrowse the source with Trac.
General instructions on installing Trac plugins can be found on theTracPlugins page.
TextAreaDescription
[ticket]descr_template=<div>%s<div>description_descr=<div>Folgende Fragen sollen beantworten werden:<br/></div><ul><li>Was wurde gemacht?</li></ul>
HtmlContent
[ticket]description_format=htmleditor_source=site/js/ckeditor/ckeditor.jseditor_replace=<script type="text/javascript">CKEDITOR.replace('@FIELD_NAME@', {toolbar: 'custom'});</script>additional_css=site/css/add_ticket.css
the Trac.ini has to be adapted:
The following attributes are now obsolete:
[ticket_custom]
ATTRNAME.css_style = ...
The following attributes have to be added
[ticket_display]
descr_template = <div>%s%s<div>
releasenotes_relevant_tag = <p class = "rntag">Release-Notes relevant!</p>
releasenotes_relevant = <COMMA-SEPARATED LIST OF ATTRNAMES>
Screenshot of text area description (red box)
Showing hiding creator of ticket (ComponentCustomizedTicketView
)
Showing ticket navigation box (ComponentTicketNavigation
)
Sorting milestones by name instead of due date (ComponentSortMilestoneVersion
)
Sorting versions by name instead of due date (ComponentSortMilestoneVersion
)
Plugin as python egg
Download all attachments as:.zip