diff --git a/app/views/bans/index.html.erb b/app/views/bans/index.html.erb index ed973577f..9542f6d91 100644 --- a/app/views/bans/index.html.erb +++ b/app/views/bans/index.html.erb @@ -7,11 +7,10 @@
| User | -Banner | -Banned | +Banned User | Duration | Reason | +Banner | - <%= link_to_user(ban.banner) %> - <%= link_to "»", bans_path(search: search_params.merge(banner_name: ban.banner.name)) %> - | -<%= time_ago_in_words_tagged(ban.created_at) %> | <%= humanized_duration(ban.created_at, ban.expires_at) %> |
<%= format_text ban.reason %>
|
+
+ <%= link_to_user ban.banner %>
+ <%= link_to "»", bans_path(search: { banner_name: ban.banner.name }) %>
+ <%= time_ago_in_words_tagged(ban.created_at) %>
+ |
<% if CurrentUser.is_moderator? %> <%= link_to "Edit", edit_ban_path(ban) %> |
|---|