Changes between Version 7 and Version 8 of CategorizedFieldsPlugin


Ignore:
Timestamp:
Mar 4, 2018, 8:58:11 AM (6 years ago)
Author:
figaro
Comment:

Further cosmetic changes

Legend:

Unmodified
Added
Removed
Modified
  • CategorizedFieldsPlugin

    v7 v8  
    88
    99This 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.
    1212* Some fields of a ticket should only be visible to an authorized user (not implemented).
    1313
    1414'''Ticket view'''
    1515
    16 [[Image(ticket-view.PNG)]]
     16[[Image(ticket-view.PNG, border=2)]]
    1717
    1818'''Ticket edit'''
    1919
    20 [[Image(ticket-edit.PNG)]]
     20[[Image(ticket-edit.PNG, border=2)]]
    2121
    2222== !Bugs/Feature Requests
     
    42421. Install the plugin just like any other, see [TracPlugins#InstallingaTracplugin TracPlugins] for general instructions.
    43432. 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]
     47catagorizedfields.catagorizedfields = enabled
     48}}}
     49 2. Create a {{{[catagorized-fields]}}} section, and add the categories, for example:
    4650{{{#!ini
    4751[catagorized-fields]
     
    5256cat1.hide_when_status = new, closed
    5357
    54 # the order of catagory, the smaller the index is, the more the catagory is close to top
     58# the order of category: the smaller the index, the closer the category is to the top
    5559cat1.index = 1
    5660}}}
    57  3. In {{{[ticket-custom]}}} section, specify your fields with catagory property:
     61 3. In {{{[ticket-custom]}}} section, specify your fields with category property:
    5862{{{#!ini
    5963[ticket-custom]
     
    6367custom_field1.catagory = cat1
    6468
    65 # the order of field, the smaller the index is, the more the field is close to top
     69# the order of field: the smaller the index, the closer the field is to the top
    6670custom_field1.index = 1
    6771}}}