summaryrefslogtreecommitdiffstats
path: root/app/models/user.rb
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2018-06-09 08:07:08 +0000
committerGo MAEDA <maeda@farend.jp>2018-06-09 08:07:08 +0000
commitb4d3715dc0f6bd16a5ff491997846b2242334812 (patch)
treeb7c87225909aa2e5caae8be10aa079214b35b0b9 /app/models/user.rb
parentbff0fbce8baeddb3bba4d04131f1368763078e36 (diff)
downloadredmine-b4d3715dc0f6bd16a5ff491997846b2242334812.tar.gz
redmine-b4d3715dc0f6bd16a5ff491997846b2242334812.zip
Include locked members in filters (#15201).
Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@17371 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/models/user.rb')
-rw-r--r--app/models/user.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/models/user.rb b/app/models/user.rb
index 15d6333c6..03c6b55ee 100644
--- a/app/models/user.rb
+++ b/app/models/user.rb
@@ -514,7 +514,7 @@ class User < Principal
name
end
- CSS_CLASS_BY_STATUS = {
+ LABEL_BY_STATUS = {
STATUS_ANONYMOUS => 'anon',
STATUS_ACTIVE => 'active',
STATUS_REGISTERED => 'registered',
@@ -522,7 +522,7 @@ class User < Principal
}
def css_classes
- "user #{CSS_CLASS_BY_STATUS[status]}"
+ "user #{LABEL_BY_STATUS[status]}"
end
# Returns the current day according to user's time zone