Changes between Version 7 and Version 8 of CategorizedFieldsPlugin
- Timestamp:
- Mar 4, 2018, 8:58:11 AM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
CategorizedFieldsPlugin
v7 v8 8 8 9 9 This plugin can help in the following situations: 10 * Your ticket has a lot of fields .11 * The fields of your ticket varies under different conditions.10 * Your ticket has a lot of fields and need to be compartimentalised for usability purposes. 11 * The fields of your ticket that are available varies under different conditions. 12 12 * Some fields of a ticket should only be visible to an authorized user (not implemented). 13 13 14 14 '''Ticket view''' 15 15 16 [[Image(ticket-view.PNG )]]16 [[Image(ticket-view.PNG, border=2)]] 17 17 18 18 '''Ticket edit''' 19 19 20 [[Image(ticket-edit.PNG )]]20 [[Image(ticket-edit.PNG, border=2)]] 21 21 22 22 == !Bugs/Feature Requests … … 42 42 1. Install the plugin just like any other, see [TracPlugins#InstallingaTracplugin TracPlugins] for general instructions. 43 43 2. Edit your `trac.ini` file: 44 1. In [components] section, add:{{{catagorizedfields.catagorizedfields = enabled}}} 45 2. Create a {{{[catagorized-fields]}}} section, and adds the catagories. e.g.: 44 1. Enable the plugin: 45 {{{#!ini 46 [components] 47 catagorizedfields.catagorizedfields = enabled 48 }}} 49 2. Create a {{{[catagorized-fields]}}} section, and add the categories, for example: 46 50 {{{#!ini 47 51 [catagorized-fields] … … 52 56 cat1.hide_when_status = new, closed 53 57 54 # the order of cat agory, the smaller the index is, the more the catagory is close totop58 # the order of category: the smaller the index, the closer the category is to the top 55 59 cat1.index = 1 56 60 }}} 57 3. In {{{[ticket-custom]}}} section, specify your fields with cat agory property:61 3. In {{{[ticket-custom]}}} section, specify your fields with category property: 58 62 {{{#!ini 59 63 [ticket-custom] … … 63 67 custom_field1.catagory = cat1 64 68 65 # the order of field , the smaller the index is, the more the field is close totop69 # the order of field: the smaller the index, the closer the field is to the top 66 70 custom_field1.index = 1 67 71 }}}