mirror of
https://github.com/indentlabs/notebook.git
synced 2025-10-26 11:19:22 +00:00
Show forum followers per thread
This commit is contained in:
parent
05de8b7ef7
commit
08e03fd70f
@ -3,7 +3,7 @@
|
||||
<% if topic.followers.present? %>
|
||||
<%= t('thredded.topics.followed_by')%>
|
||||
<% topic.followers.each do |user| %>
|
||||
<%= user_mention(user) %>
|
||||
<%= link_to user.forum_username, user %>
|
||||
<% end %>
|
||||
<% else %>
|
||||
<%= t('thredded.topics.followed_by_noone')%>
|
||||
|
||||
@ -50,7 +50,7 @@ Thredded.admin_column = :forum_administrator
|
||||
Thredded.content_visible_while_pending_moderation = true
|
||||
|
||||
# Whether users that are following a topic are listed on topic page.
|
||||
Thredded.show_topic_followers = false
|
||||
Thredded.show_topic_followers = true
|
||||
|
||||
# This model can be customized further by overriding a handful of methods on the User model.
|
||||
# For more information, see app/models/thredded/user_extender.rb.
|
||||
|
||||
11
db/schema.rb
11
db/schema.rb
@ -640,17 +640,6 @@ ActiveRecord::Schema.define(version: 20171226213749) do
|
||||
t.integer "office_id"
|
||||
end
|
||||
|
||||
create_table "omniauth_users", force: :cascade do |t|
|
||||
t.string "provider"
|
||||
t.string "uid"
|
||||
t.string "email"
|
||||
t.integer "user_id"
|
||||
t.datetime "created_at", null: false
|
||||
t.datetime "updated_at", null: false
|
||||
end
|
||||
|
||||
add_index "omniauth_users", ["user_id"], name: "index_omniauth_users_on_user_id"
|
||||
|
||||
create_table "original_ownerships", force: :cascade do |t|
|
||||
t.integer "user_id"
|
||||
t.integer "item_id"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user