Commit 1417cd5b authored by movilla's avatar movilla

Last translation admin-panel (weekly user)

parent 79556005
......@@ -6,13 +6,13 @@
.span-24.last
%h2
= "Current server date is: #{Time.now.to_date}) "
= "#{t('.current_server')}: #{Time.now.to_date}"
= form_tag('/admins/weekly_user_stats', :method => 'get') do
= select_tag(:week, options_for_select(@created_users_by_week.keys))
= submit_tag 'go'
= submit_tag t('admins.stats.go')
amount of new users this week:
= t('.amount_of')
= @counter
%br
- @created_users_by_week[(params[:week])].each do |m|
......
......@@ -103,6 +103,9 @@ en:
few: "%{count} users found"
many: "%{count} users found"
other: "%{count} users found"
weekly_user_stats:
current_server: "Current server date is"
amount_of: "amount of new users this week:"
stats:
week: "Week"
2weeks: "2 Week"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment