Project

General

Profile

Actions

Feature #28413

closed

Add CSS class to identify public projects

Added by Sho HASHIMOTO about 6 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
UI
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed

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

Actions #1

Updated by Go MAEDA about 6 years ago

  • Target version set to Candidate for next major release

+1
The patch is useful for theme developers.

Actions #2

Updated by Go MAEDA about 6 years ago

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

Setting target version to 4.1.0.

Actions #3

Updated by Go MAEDA almost 6 years 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.

Actions #4

Updated by Sho HASHIMOTO almost 6 years ago

There is no problem for adding only public.

Actions #5

Updated by Go MAEDA almost 6 years ago

Slightly modified the patch to delete 'private' class.

Actions #6

Updated by Go MAEDA over 5 years 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.

Actions #7

Updated by Sho HASHIMOTO over 5 years ago

Thanks!!

Actions

Also available in: Atom PDF