Feature #28413

Add CSS class to identify public projects

Added by Sho HASHIMOTO 5 months ago. Updated 26 days ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:Go MAEDA% Done:


Target version:4.0.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.

redmine_project_visibility_class.patch Magnifier (1.41 KB) Sho HASHIMOTO, 2018-03-24 05:33

redmine_project_visibility_class-v2.patch Magnifier (1.5 KB) Go MAEDA, 2018-07-16 04:50

Associated revisions

Revision 17452
Added by Go MAEDA 26 days ago

Add CSS class to identify public projects (#28413).

Patch by Sho HASHIMOTO.


#1 Updated by Go MAEDA 5 months ago

  • Target version set to Candidate for next major release

The patch is useful for theme developers.

#2 Updated by Go MAEDA 4 months ago

  • Target version changed from Candidate for next major release to 4.1.0

Setting target version to 4.1.0.

#3 Updated by Go MAEDA 2 months ago

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.

#4 Updated by Sho HASHIMOTO about 1 month ago

There is no problem for adding only public.

#5 Updated by Go MAEDA about 1 month ago

Slightly modified the patch to delete 'private' class.

#6 Updated by Go MAEDA 26 days ago

  • Subject changed from Project Visibility class to Add CSS class to identify public projects
  • Status changed from New to Closed
  • Assignee set to Go MAEDA
  • Target version changed from 4.1.0 to 4.0.0
  • Resolution set to Fixed

Committed. Public projects have "public" CSS class after this. Thank you for your contribution.

#7 Updated by Sho HASHIMOTO 26 days ago


Also available in: Atom PDF