Defect #2733
Priority CSS Class in issue description is fault-prone
Status: | Closed | Start date: | 2009-02-12 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | - | % Done: | 0% | |
Category: | - | |||
Target version: | 0.8.1 | |||
Resolution: | Fixed | Affected version: |
Description
The priority CSS class in issue description can be wrong if
your priority contains spaces.
Priority: Keep in Mind
=> CSS classes: priority priority-Keep in Mind
As you can see the spaces are not masqueraded.
I suggest either use the same approach as in the issue list by
just enumerating the priorities eg. priority-1 or masquerading
the spaces with underscores or dashes.
Related issues
Associated revisions
Removes invalid css class on issue details (#2733).
History
#1
Updated by Jean-Philippe Lang over 13 years ago
just enumerating the priorities eg. priority-1
That is the expected behaviour.
Can you give the exact view or URL where a CSS class based on priority name appears?
#2
Updated by Leonard Brünings over 13 years ago
Jup, just look at the sourcecode of this page.
<td class="priority"><b>Priority:</b></td><td class="priority priority-Normal">Normal</td>
#3
Updated by Jean-Philippe Lang over 13 years ago
- Status changed from New to Closed
- Target version set to 0.8.1
- Resolution set to Fixed
Oh, you're right. This is removed in r2461.
The css class that you're expecting (eg. priority-5) was set on the div that wraps the issue details.