diff options
author | Go MAEDA <maeda@farend.jp> | 2018-07-22 05:02:12 +0000 |
---|---|---|
committer | Go MAEDA <maeda@farend.jp> | 2018-07-22 05:02:12 +0000 |
commit | 81fcc06d55917d5d4548a03688caa3e30699a52d (patch) | |
tree | 6a4ad3236dd296354cb7bda51446d12f93dbd59b /app | |
parent | 26f4b5181f4d2b44ccaf74c6f29af225420e0d8a (diff) | |
download | redmine-81fcc06d55917d5d4548a03688caa3e30699a52d.tar.gz redmine-81fcc06d55917d5d4548a03688caa3e30699a52d.zip |
Add CSS class to identify public projects (#28413).
Patch by Sho HASHIMOTO.
git-svn-id: http://svn.redmine.org/redmine/trunk@17452 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-rw-r--r-- | app/models/project.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/models/project.rb b/app/models/project.rb index 5f2f2fb10..038398e04 100644 --- a/app/models/project.rb +++ b/app/models/project.rb @@ -628,6 +628,7 @@ class Project < ActiveRecord::Base s << ' root' if root? s << ' child' if child? s << (leaf? ? ' leaf' : ' parent') + s << ' public' if is_public? unless active? if archived? s << ' archived' |