[[PageOutline(2-5,Contents,pullout)]] = Miscellaneous functions to ticket view: CKEditor, navigation table, descriptions, sorting versions == Description The following plugin adds additional functionality to your Trac site. All changes can be implemented in the site's `trac.ini` file. === Component `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: {{{#!ini [ticket] description_descr = descr_template =
%s
}}} '''`TextAreaDescription`''' - red box under "Beschreibung" (Description) and `HtmlContent` (Editor): [[Image(TextAreaDescription.png, border=2)]] === Component `CssTemplate` Add links to style sheets located in templates folder. The stylesheet files ([wikipedia:Cascading_Style_Sheets CSS] files) starting with `"all_templates"` are added for all Trac sites. The CSS 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 projects `templates` folder: || `all_templates_general.css` || added to all Trac sites || || `ticket_additional.css` || only added for `ticket.html` pages || For a discussion in Trac about this topic, see [t:#9683 Trac ticket #9683]. === Component `CustomizedTicketView` Supports changes of the ticket view: * disables field `field-reporter`, so it cannot be changed anymore * disables button `Reply`, so no comment can be made to any description '''`CustomizedTicketView`''' - creator "Ersteller" is disabled, so it cannot be changed: [[Image(CustomizedTicketView.png, border=2)]] See also: SimpleTicketPlugin === Component `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"): [[Image(SortMilestones.png, border=2)]] '''`SortMilestoneVersion`''' - versions are sorted in alphabetical order instead of their due / completion date: [[Image(Sortversions.png, border=2)]] === Component `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: [[Image(TicketNavigation.png, border=2)]] == Bugs/Feature Requests Existing bugs and feature requests for TicketNavPlugin are [report:9?COMPONENT=TicketNavPlugin here]. If you have any issues, create a [/newticket?component=TicketNavPlugin new ticket]. [[TicketQuery(component=TicketNavPlugin&group=type,format=progress)]] == Download Download the zipped source from [export:ticketnavplugin here]. Or download the pre-compiled [raw-attachment:TicketDisplay-0.4.0-py2.6.egg Python egg]. == Source You can check out TicketNavPlugin from [/svn/ticketnavplugin here] using Subversion, or [source:ticketnavplugin browse the source] with Trac. == Installation General instructions on installing Trac plugins can be found on the [TracPlugins#InstallingaTracplugin TracPlugins] page. == Configuration === Sample configuration of `TextAreaDescription` {{{#!ini [ticket] descr_template =
%s
description_descr =
Folgende Fragen sollen beantworten werden:
  • Was wurde gemacht?
}}} === Sample configuration of `HtmlContent` {{{#!ini [ticket] description_format = html editor_source = site/js/ckeditor/ckeditor.js editor_replace = additional_css = site/css/add_ticket.css }}} == Recent Changes [[ChangeLog(ticketnavplugin, 3)]] == Author/Contributors '''Author:''' [wiki:framay] [[BR]] '''Maintainer:''' [[Maintainer]] [[BR]] '''Contributors:'''