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:
evazion
2020-03-11 00:01:56 -05:00
parent f917595554
commit e81161bca5
4 changed files with 20 additions and 22 deletions

View File

@@ -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