プロジェクト

全般

プロフィール

Vote #76990

完了

Adding issue css classes to subtasks and relations tr

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

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

0%

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

説明

In every other part of the application issues have their CSS classes added to the tr element.
This patch adds them to the sub tasks and relations tables for issues#show.
It is useful for custom themes to be able to style them according to their status/tracker or for JavaScript plugins doing funky front end logic with them.


journals

Useful for theme developers. I tried the patch and works fine.
I suggest including this in Redmine 3.3.0.
--------------------------------------------------------------------------------
Committed, thanks.
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
Hi,

This patch introduced a duplication of the 'issue' css tag because it is also provided by the *css_classes* method.
Can it be fixed ?

Thanks a lot.
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
Jérôme BATAILLE wrote:
> Hi,
>
> This patch introduced a duplication of the 'issue' css tag because it is also provided by the *css_classes* method.
> Can it be fixed ?
>
> Thanks a lot.

It was already fixed in #23391.
--------------------------------------------------------------------------------


related_issues

relates,Closed,23391,Wrong CSS classes in subtasks tree
duplicates,Closed,11302,Issue-Details: add additional classes to the list of related tickets and subtasks for better theme support

Admin Redmine さんが約4年前に更新

  • カテゴリUI_10 にセット
  • 対象バージョン3.3.0_110 にセット

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

いいね!0
いいね!0