Merge pull request #3184 from movilla/amparito_users
Add translation app/views/admins/user_search.html.haml - Admin Panel
This commit is contained in:
commit
70fb426487
2 changed files with 21 additions and 13 deletions
|
|
@ -4,31 +4,28 @@
|
||||||
.span-24.prepend-4
|
.span-24.prepend-4
|
||||||
|
|
||||||
%h3
|
%h3
|
||||||
you currently have
|
!= t('.you_currently', :user_invitation => current_user.invitation_code.count, :link => link_to(t(".add_invites"), add_invites_path(current_user.invitation_code)))
|
||||||
= current_user.invitation_code.count
|
|
||||||
invites left
|
|
||||||
= link_to "add_invites", add_invites_path(current_user.invitation_code)
|
|
||||||
|
|
||||||
= form_tag 'admin_inviter', :method => :get do
|
= form_tag 'admin_inviter', :method => :get do
|
||||||
email to invite:
|
= t('.email_to')
|
||||||
= text_field_tag 'identifier'
|
= text_field_tag 'identifier'
|
||||||
= submit_tag 'invite'
|
= submit_tag t('services.remote_friend.invite')
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
%h3
|
%h3
|
||||||
user search
|
= t('admins.admin_bar.user_search')
|
||||||
= form_tag 'user_search', :method => :get do
|
= form_tag 'user_search', :method => :get do
|
||||||
username:
|
= t('username')
|
||||||
= text_field_tag 'user[username]', params[:user][:username]
|
= text_field_tag 'user[username]', params[:user][:username]
|
||||||
|
|
||||||
email:
|
= t('email')
|
||||||
= text_field_tag 'user[email]', params[:user][:email]
|
= text_field_tag 'user[email]', params[:user][:email]
|
||||||
|
|
||||||
= submit_tag 'go'
|
= submit_tag t('admins.stats.go')
|
||||||
|
|
||||||
|
|
||||||
= "#{@users.count} users found"
|
= t('.users', :count => @users.count)
|
||||||
%br
|
%br
|
||||||
%br
|
%br
|
||||||
- @users.each do |user|
|
- @users.each do |user|
|
||||||
|
|
|
||||||
|
|
@ -90,6 +90,17 @@ en:
|
||||||
resque_overview: "Resque Overview"
|
resque_overview: "Resque Overview"
|
||||||
correlations:
|
correlations:
|
||||||
correlations_count: "Correlations with Sign In Count:"
|
correlations_count: "Correlations with Sign In Count:"
|
||||||
|
user_search:
|
||||||
|
you_currently: "you currently have %{user_invitation} invites left %{link}"
|
||||||
|
add_invites: "add invites"
|
||||||
|
email_to: "Email to Invite"
|
||||||
|
users:
|
||||||
|
zero: "%{count} users found"
|
||||||
|
one: "%{count} user found"
|
||||||
|
two: "%{count} users found"
|
||||||
|
few: "%{count} users found"
|
||||||
|
many: "%{count} users found"
|
||||||
|
other: "%{count} users found"
|
||||||
application:
|
application:
|
||||||
helper:
|
helper:
|
||||||
unknown_person: "unknown person"
|
unknown_person: "unknown person"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue