diff options
Diffstat (limited to 'app/models/user.rb')
-rw-r--r-- | app/models/user.rb | 4 |
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 |