Changes between Version 11 and Version 12 of CondFieldsGenshiPlugin


Ignore:
Timestamp:
Mar 19, 2015, 10:50:17 AM (9 years ago)
Author:
figaro
Comment:

Cosmetic changes, tagged with license

Legend:

Unmodified
Added
Removed
Modified
  • CondFieldsGenshiPlugin

    v11 v12  
    11[[PageOutline(2-5,Contents,pullout)]]
    22
    3 = Conditionally display fields based on ticket type =
     3= Conditionally display fields based on ticket type
    44
    5 == Description ==
     5== Description
    66
    7 With the help of this Trac plugin you can hide or show fields when
    8 creating or viewing a ticket, depending on the ticket type. Only the
     7With the help of this Trac plugin you can hide or show fields when creating or viewing a ticket, depending on the ticket type. Only the
    98presentation changes, not the contents of the ticket.
    109
    11 CondFieldsGenshiPlugin is derived from the CondFieldsPlugin, but it is completely based on Genshi now instead of using
    12 Javascript. Moreover, you can select whether selected fields are hidden
    13 or shown by default.
     10CondFieldsGenshiPlugin is derived from the CondFieldsPlugin, but it is completely based on Genshi now instead of using Javascript. Moreover, you can select whether selected fields are hidden or shown by default.
    1411
    1512This plugin is standalone; the patch `blackmagic-conditionalfields.patch` in #2486 did not match with newer releases of Trac 0.11.
    1613
    17 Some problems reported about the more powerful DynamicFieldsPlugin (bad scaling
    18 for many fields, malfunction if fields are internally sorted, clearing value of hidden fields) should not occur here.
     14Some problems reported about the more powerful DynamicFieldsPlugin (bad scaling for many fields, malfunction if fields are internally sorted, clearing value of hidden fields) should not occur here.
    1915
    20 It should be easy to extend this plugin, e.g. for dependence on other parameters
    21 than ticket type.
     16It should be easy to extend this plugin, eg for dependence on other parameters than ticket type.
    2217
    23 The plugin was tested under Trac 0.12 and 0.11.
     18The plugin was tested under Trac 0.11 and 0.12.
    2419
    25 == Bugs/Feature Requests ==
     20== Bugs/Feature Requests
    2621
    2722Existing bugs and feature requests for CondFieldsGenshiPlugin are
     
    3126[http://trac-hacks.org/newticket?component=CondFieldsGenshiPlugin&owner=Reinhard new ticket].
    3227
    33 == Download ==
     28[[TicketQuery(component=CondFieldsGenshiPlugin&group=type,format=progress)]]
     29
     30== Download
    3431
    3532Download the zipped source from [download:condfieldsgenshiplugin here].
    3633
    37 == Source ==
     34== Source
    3835
    3936You can check out CondFieldsGenshiPlugin from [http://trac-hacks.org/svn/condfieldsgenshiplugin here] using Subversion, or [source:condfieldsgenshiplugin browse the source] with Trac.
    4037
    41 == Example ==
     38== Configuration
    4239
    43 First, configure trac.ini as in this example:
     40First, configure the `trac.ini` file as in this example:
    4441
    4542{{{
     
    6057'''Effect:'''
    6158
    62 Now field1 will be shown only if the ticket type is defect, field2
    63 only if the ticket type is task, and field3 only if the ticket type is
     59Now field1 will be shown only if the ticket type is defect, field2 only if the ticket type is task, and field3 only if the ticket type is
    6460neither "task" nor "enhancement".
    6561
     
    7066 }}}
    7167
    72 means that the field listed under tweaks are NOT shown by default.
     68means that the field listed under tweaks are '''not''' shown by default.
    7369
    7470The default value is `default = enable`.
    7571
    76 To disable/enable a field independent of the ticket type, simply write a line
    77 like:
     72To disable/enable a field independent of the ticket type, simply write a line like:
    7873 {{{
    7974 #!ini
     
    8176 }}}
    8277
    83 (supposed there is no None type :-).
     78Supposing there is no None type.
    8479
    85 When you change the ticket type, you must type preview resp. submit
    86 before you can see the effect of of condfieldsgenshi.
    87 
     80When you change the ticket type, you must type preview respectively submit before you can see the effect of condfieldsgenshi.
    8881
    8982'''Bug fix done for type field'''
     
    9386  .../newticket?type=task
    9487
    95 and the ticket type field is disabled, this plugin works nevertheless
    96 (in contrast to the CondFieldsPlugin).
     88and the ticket type field is disabled, this plugin works nevertheless, in contrast to the CondFieldsPlugin.
    9789
    9890The type field label is extended by (Fixed) in this case now.
    9991
    100 == Recent Changes ==
     92== Recent Changes
    10193
    10294[[ChangeLog(condfieldsgenshiplugin, 3)]]
    10395
    104 == Author/Contributors ==
     96== Author/Contributors
    10597
    10698'''Author:''' [wiki:Reinhard] [[BR]]
    107 '''Maintainer:''' [wiki:Reinhard] [[BR]]
     99'''Maintainer:''' [[Maintainer]] [[BR]]
    108100'''Contributors:'''