Vote #79221
完了Add CSS class to identify public projects
0%
説明
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!!
--------------------------------------------------------------------------------