Feature #28413
closed
Add CSS class to identify public projects
Added by Sho HASHIMOTO almost 7 years ago.
Updated over 6 years ago.
Description
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.
Files
- Target version set to Candidate for next major release
+1
The patch is useful for theme developers.
- Target version changed from Candidate for next major release to 4.1.0
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.
- 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.
Also available in: Atom
PDF