| 1 | [[PageOutline(2-5,Contents,pullout)]] |
| 2 | |
| 3 | = Add streamlined workflow-action buttons to the top of a ticket |
| 4 | |
| 5 | == Description |
| 6 | |
| 7 | This plugin adds a row of "action buttons" to the top of every ticket detail page. These buttons allow you to quickly act on a ticket (with a workflow action like "reassign", "resolve", "reopen", etc) without scrolling down to the Actions section. When a button is pressed, a modal dialog opens up with a small form prompting the user for any additional information (e.g. resolution when resolving the ticket, or new owner when reassigning) and an optional comment. |
| 8 | |
| 9 | The plugin does nothing if Javascript is disabled. |
| 10 | |
| 11 | == !Bugs/Feature Requests |
| 12 | |
| 13 | Existing bugs and feature requests for WorkflowActionButtonsPlugin are |
| 14 | [report:9?COMPONENT=WorkflowActionButtonsPlugin here]. |
| 15 | |
| 16 | If you have any issues, create a |
| 17 | [http://trac-hacks.org/newticket?component=WorkflowActionButtonsPlugin&owner=ejucovy new ticket]. |
| 18 | |
| 19 | == Download |
| 20 | |
| 21 | Download the zipped source from [export:workflowactionbuttonsplugin here]. |
| 22 | |
| 23 | == Source |
| 24 | |
| 25 | You can check out WorkflowActionButtonsPlugin from [http://trac-hacks.org/svn/workflowactionbuttonsplugin here] using Subversion, or [source:workflowactionbuttonsplugin browse the source] with Trac. |
| 26 | |
| 27 | == Installation |
| 28 | |
| 29 | Install the plugin and then enable its components by setting `workflow_actionbuttons.* = enabled` in your `trac.ini` `[components]` section. |
| 30 | |
| 31 | You can customize the labels and icons displayed for each button. To do this, create a new `trac.ini` section `[ticket-workflow-action-buttons]`. For example: |
| 32 | |
| 33 | {{{ |
| 34 | [ticket-workflow-action-buttons] |
| 35 | accept.title = Accept |
| 36 | accept.icon = fa-thumbs-o-up |
| 37 | leave.title = Comment |
| 38 | leave.icon = fa-comments-o |
| 39 | leave.comment = required |
| 40 | assign.title = Reassign |
| 41 | assign.icon = fa-random |
| 42 | reopen.title = Reopen |
| 43 | reopen.icon = fa-minus-square-o |
| 44 | resolve.title = Close |
| 45 | resolve.icon = fa-check-square-o |
| 46 | }}} |
| 47 | |
| 48 | The icons are implemented with [http://fontawesome.io/icons/ Font Awesome]; a copy of Font Awesome is included in the plugin distribution. |
| 49 | |
| 50 | == Recent Changes |
| 51 | |
| 52 | [[ChangeLog(workflowactionbuttonsplugin, 3)]] |
| 53 | |
| 54 | == !Author/Contributors |
| 55 | |
| 56 | '''Author:''' [wiki:ejucovy] [[BR]] |
| 57 | '''Maintainer:''' [wiki:ejucovy] [[BR]] |
| 58 | '''Contributors:''' |