We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 993e87c commit f28a4e3Copy full SHA for f28a4e3
app/views/users/show.html.erb
@@ -20,7 +20,7 @@
20
<td valign='top'>
21
<b><%= t(:Date_joined) %>:</b> <%= @user.created_at.strftime date_display %> <br />
22
<b><%= t(:Posts) %>:</b> <%= @user.posts.size %>, <%= t(:about) %> <%= @posts_percentage %>% <%= t(:of_all_posts_on_this_forum) %><br />
23
- <b><%= t(:Bans) %>:</b> <%= @user %> <%= t(:has_been_banned) %> <%= @user.ban_times %> g<%= t(:times) %>. <br />
+ <b><%= t(:Bans) %>:</b> <%= @user %> <%= t(:has_been_banned, :count => @user.ban_times %><br />
24
<% if !@user.ban_time.nil? && @user.ban_time > Time.now %>
25
<h2><%= t(:is_currently_banned, :user => @user) %>!</h2>
26
<%= t(:banned_by, :user => @user.banned_by.login) %><%= t(:ban_expires_in, :time => time_ago_in_words(@user.ban_time)) %>.<br /><br />
0 commit comments