プロジェクト

全般

プロフィール

Vote #79221

完了

Add CSS class to identify public projects

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

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

0%

予定工数:
category_id:
10
version_id:
99
issue_org_id:
28413
author_id:
284508
assigned_to_id:
332
comments:
7
status_id:
5
tracker_id:
2
plus1:
1
affected_version:
closed_on:
affected_version_id:
ステータス-->[Closed]

説明

Currently, I can't find information whether redmine projects is public or private.

At least, I want to a.project.public or a.project.private. on /projects.

This patch is added both a.project class.


journals

+1
The patch is useful for theme developers.
--------------------------------------------------------------------------------
Setting target version to 4.1.0.
--------------------------------------------------------------------------------
IMHO, we don't have to add "private" class for private projects, adding @.public@ for public projects is enough. The reasons are as follows:

* You can select by private projects by using @:not@ (e.g. @a.project:not(.pubblic)@)
* Private issues have @.private@ class but public issues don't have oppisite class @.public@
* If users really want @.private@ class, we can support it in later versions. But if we implement @.private@ class now, It will be difficult to delete it in the future due to compatibility.

Feedbacks welcome.
--------------------------------------------------------------------------------
There is no problem for adding only public.
--------------------------------------------------------------------------------
Slightly modified the patch to delete 'private' class.
--------------------------------------------------------------------------------
Committed. Public projects have "public" CSS class after this. Thank you for your contribution.
--------------------------------------------------------------------------------
Thanks!!
--------------------------------------------------------------------------------

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

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

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

いいね!0
いいね!0