Changes between Version 8 and Version 9 of CondFieldsGenshiPlugin
- Timestamp:
- Sep 27, 2012, 7:21:06 PM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
CondFieldsGenshiPlugin
v8 v9 45 45 First, configure trac.ini as in this example: 46 46 47 [components][[BR]] 48 condfieldsgenshi.* = enabled[[BR]] 49 ...[[BR]] 50 [condfieldsgenshi][[BR]] 51 tweaks = field1, field2[[BR]] 52 default = disable[[BR]] 53 field1.type_cond = defect[[BR]] 54 field2.type_cond = task[[BR]] 47 {{{ 48 #!ini 49 [components] 50 condfieldsgenshi.* = enabled 51 52 ... 53 54 [condfieldsgenshi] 55 tweaks = field1, field2 56 default = disable 57 field1.type_cond = defect 58 field2.type_cond = task 59 }}} 55 60 56 61 '''Effect:''' … … 59 64 only if the ticket type is task. 60 65 61 The entry[[BR]] 62 default = disable[[BR]] 63 means that the field listed under tweaks 64 are NOT shown by default. 65 The default value is default = enable. 66 The entry: 67 {{{ 68 #!ini 69 default = disable 70 }}} 71 72 means that the field listed under tweaks are NOT shown by default. 73 74 The default value is `default = enable`. 66 75 67 76 To disable/enable a field independent of the ticket type, simply write a line 68 like 69 70 field1.type_cond = None 77 like: 78 {{{ 79 #!ini 80 field1.type_cond = None 81 }}} 71 82 72 83 (supposed there is no None type :-).