プロジェクト

全般

プロフィール

Vote #64649

完了

Priority CSS Class in issue description is fault-prone

Admin Redmine さんが4年以上前に追加. 4年以上前に更新.

ステータス:
Closed
優先度:
通常
担当者:
-
カテゴリ:
-
対象バージョン:
開始日:
2009/02/12
期日:
進捗率:

0%

予定工数:
category_id:
0
version_id:
7
issue_org_id:
2733
author_id:
2738
assigned_to_id:
0
comments:
3
status_id:
5
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[Closed]

説明

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.


journals

> 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?
--------------------------------------------------------------------------------
Jup, just look at the sourcecode of this page.
<pre>
<td class="priority"><b>Priority:</b></td><td class="priority priority-Normal">Normal</td>
</pre>
--------------------------------------------------------------------------------
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.
--------------------------------------------------------------------------------


related_issues

relates,Closed,2753,Status CSS Class in issue description is fault-prone

Admin Redmine さんが4年以上前に更新

  • 対象バージョン0.8.1_7 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0