Changes between Version 5 and Version 6 of TracComponentAliasPlugin
- Timestamp:
- Feb 20, 2013, 1:25:07 AM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracComponentAliasPlugin
v5 v6 5 5 == Description == 6 6 7 Changes the component based off the selection from a custom field 7 Changes the component based off the selection from a custom field of type `radio` or `select`. The plugin is implemented in Python, so the component will be changed only after the form is submitted (as opposed to some implementations in !JavaScript that may dynamically change the field client-side). 8 8 9 9 == Bugs/Feature Requests == … … 28 28 {{{ 29 29 #!ini 30 #test1 and test2 define the grouping. The name can be whatever you want.30 ; test1 and test2 define the grouping. The name can be whatever you want. 31 31 32 32 [component_alias] 33 test1.custom_field = custom_field # custom ticket field this applies to 34 test1.name = TEST # name from the custom ticket field this applies to 35 test1.alias = component1 # change component to this alias if "TEST" is selected 33 test1.alias = component1 ; change component to this alias if "TEST" is selected 34 test1.custom_field = custom_field ; custom ticket field this applies to 35 test1.name = TEST ; name from the custom ticket field this applies to 36 test2.alias = component2 ; change component to this alias if "This is a test" is selected 37 test2.custom_field = custom_field ; custom ticket field this applies to 38 test2.name = This is a test ; name from the custom ticket field this applies to 36 39 37 test2.custom_field = custom_field # custom ticket field this applies to 38 test2.name = This is a test # name from the custom ticket field this applies to 39 test2.alias = component2 # change component to this alias if "This is a test" is selected 40 40 [ticket-custom] 41 custom_field = select 42 custom_field.options = TEST|This is a test 41 43 }}} 42 44