forum: adjust BUR status label colors (again).
* Indicate unread topics in bold instead of with a "NEW" label. * Use pills for labels.
This commit is contained in:
@@ -167,6 +167,10 @@ class ForumTopic < ApplicationRecord
|
||||
title.gsub(/\A\[APPROVED\]|\[REJECTED\]/, "")
|
||||
end
|
||||
|
||||
def html_data_attributes
|
||||
super + [:is_read?]
|
||||
end
|
||||
|
||||
def self.available_includes
|
||||
[:creator, :updater, :original_post]
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user