UX: show an enveloppe icon when a badge is used in messages

- the badge count now includes messages
- only show the message badges to admins
This commit is contained in:
Régis Hanol
2018-05-14 19:02:00 +02:00
parent 1e132b4599
commit e9abdaebbe
9 changed files with 110 additions and 60 deletions

View File

@@ -0,0 +1,5 @@
class AddPmTopicCountToTags < ActiveRecord::Migration[5.1]
def change
add_column :tags, :pm_topic_count, :integer, null: false, default: 0
end
end