string concatenation is still bad
This commit is contained in:
parent
7298cf9212
commit
c9e54700ff
2 changed files with 7 additions and 5 deletions
|
|
@ -6,14 +6,13 @@
|
||||||
|
|
||||||
.span-24.last
|
.span-24.last
|
||||||
%h2
|
%h2
|
||||||
= "#{t('.current_server')}: #{Time.now.to_date}"
|
= t('.current_server', :date => Time.now.to_date)
|
||||||
|
|
||||||
= form_tag('/admins/weekly_user_stats', :method => 'get') do
|
= form_tag('/admins/weekly_user_stats', :method => 'get') do
|
||||||
= select_tag(:week, options_for_select(@created_users_by_week.keys))
|
= select_tag(:week, options_for_select(@created_users_by_week.keys))
|
||||||
= submit_tag t('admins.stats.go')
|
= submit_tag t('admins.stats.go')
|
||||||
|
|
||||||
= t('.amount_of')
|
= t('.amount_of', :count => @counter)
|
||||||
= @counter
|
|
||||||
%br
|
%br
|
||||||
- @created_users_by_week[(params[:week])].each do |m|
|
- @created_users_by_week[(params[:week])].each do |m|
|
||||||
= link_to m, "/u/#{m}"
|
= link_to m, "/u/#{m}"
|
||||||
|
|
|
||||||
|
|
@ -104,8 +104,11 @@ en:
|
||||||
many: "%{count} users found"
|
many: "%{count} users found"
|
||||||
other: "%{count} users found"
|
other: "%{count} users found"
|
||||||
weekly_user_stats:
|
weekly_user_stats:
|
||||||
current_server: "Current server date is"
|
current_server: "Current server date is %{date}"
|
||||||
amount_of: "amount of new users this week:"
|
amount_of:
|
||||||
|
zero: "amount of new users this week: none"
|
||||||
|
one: "amount of new users this week: %{count}"
|
||||||
|
other: "amount of new users this week: %{count}"
|
||||||
stats:
|
stats:
|
||||||
week: "Week"
|
week: "Week"
|
||||||
2weeks: "2 Week"
|
2weeks: "2 Week"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue