Ticket #5078 (closed Bug: fixed)
Incorrect Coloring / CSS of Workflow States in Content Menu
| Reported by: | sirgarr | Owned by: | hannosch |
|---|---|---|---|
| Priority: | minor | Milestone: | 2.1.3 |
| Component: | Templates/CSS | Keywords: | |
| Cc: |
Description
In global_contentmenu.pt, the color of the workflow state is determined by the following:
tal:attributes="class string:state-${review_state}"
However, this is incosistent with how other templates define the class by first normalizing the review state:
tal:define="item_wf_state_class python:'state-' + here.plone_utils.normalizeString(item_wf_state);"
tal:attributes="class item_wf_state_class"
As a result, workflow states with spaces in their names do not display with the correct style. The code should be changed to something like the above.
Change History
Note: See
TracTickets for help on using
tickets.
