- | <%= ban.user.name %> |
+ <%= link_to(ban.user.name, user_path(ban.user_id), { :class => ban.user.level_class }) %> |
<%= ban.expires_at %> |
<%= ban.reason %> |
diff --git a/app/views/bans/show.html.erb b/app/views/bans/show.html.erb
index 1e898bc61..7291b088a 100644
--- a/app/views/bans/show.html.erb
+++ b/app/views/bans/show.html.erb
@@ -2,7 +2,7 @@
Show Ban
- - User: <%= @ban.user.name %>
+ - User: <%= link_to(@ban.user.name, user_path(@ban.user_id), { :class => @ban.user.level_class }) %>
- Expires: <%= compact_time @ban.expires_at %>
- Reason: <%= @ban.reason %>
|