Opened 7 years ago
Closed 7 years ago
#13284 closed enhancement (duplicate)
Use configuration options to allow for SELECT list for Topic/Conclusion and all UI labels
Reported by: | Richard Lyders | Owned by: | Cauly |
---|---|---|---|
Priority: | normal | Component: | AccreditationPlugin |
Severity: | normal | Keywords: | |
Cc: | richard@… | Trac Release: | 1.2 |
Description
I've added the following features to the accreditation plugin and attached the new code. (If there is a preferred way to propose new code for plugins, please let me know. Thanks)
- All UI text is now configured via options in trac.ini
- Both the topic and conclusion INPUT elements can now be configured as a SELECT list of OPTIONS
Below is a sample of what the new configurable options could be in the trac.ini
[accreditation] created_comment_label = Approvers defined for: updated_comment_label = Response from approver: webui_participants_title = Approver(s) webui_table_comments_title = Comments/Results webui_table_conclusion_options = Untested,Approved,Inconclusive,Rejected webui_table_conclusion_title = Approve/Reject webui_table_participant_title = Approver webui_topic_options = DEV-test,INT2-test,PROD-verify webui_topic_title = Type webui_wrapper_title = Approvals
Attachments (1)
Change History (4)
Changed 7 years ago by
Attachment: | Accreditation.py added |
---|
comment:2 Changed 7 years ago by
PS: If you don't configure the SELECT list of OPTIONs for the topic or conclusion fields, then the default is to simply show the original INPUT field so that existing installations should not be not affected by these new features.
PSS: All the default values for the new configurable label options should match the original values so existing installations should not be affected.
comment:3 Changed 7 years ago by
Resolution: | → duplicate |
---|---|
Status: | new → closed |
This enhancement can be closed as a duplicate of enhancement #13289 considering I've attached a complete unified patch to #13289 with this and all other changes I've implemented.
Complete patch attached with all changes to date ... (the attachment description erroneously calls it a "complete path".
Thanks again for this plugin. We are getting some good use out of it.
Enhancements to Accreditation.py: configurable labels and configurable SELECT list of OPTIONs for topic and conclusion fields