Merge pull request #4301 from BrokenEagle/forum-topic-bur-indicators

Add BUR counters to forum topics index
This commit is contained in:
evazion
2020-03-07 23:04:19 -06:00
committed by GitHub
4 changed files with 28 additions and 4 deletions

View File

@@ -22,13 +22,16 @@
<span class="level-topic">(<%= User.level_string(topic.min_level).downcase %> only)</span>
<% end %>
<% end %>
<% t.column "Creator" do |topic| %>
<% t.column "BURs", width: "20%" do |topic| %>
<%= bulk_update_request_counts(topic) %>
<% end %>
<% t.column "Creator", width: "8%" do |topic| %>
<%= link_to_user topic.creator %>
<% end %>
<% t.column "Updated by" do |topic| %>
<% t.column "Updated by", width: "8%" do |topic| %>
<%= link_to_user topic.updater %>
<% end %>
<% t.column "Updated at" do |topic| %>
<% t.column "Updated at", width: "8%" do |topic| %>
<%= compact_time topic.updated_at %>
<% end %>
<% end %>