mirror of
https://github.com/TracksApp/tracks.git
synced 2026-03-09 22:22:37 +01:00
Changed code to support basic i18n.
Added RubyMine configuration and rvm setup to .gitignore.
This commit is contained in:
parent
04faa5d408
commit
fd3f69d927
99 changed files with 1157 additions and 601 deletions
|
|
@ -1,7 +1,7 @@
|
|||
if @saved
|
||||
page["user-#{@deleted_user.id}"].remove
|
||||
page['user_count'].replace_html @total_users.to_s
|
||||
page.notify :notice, "User #{@deleted_user.login} was successfully destroyed", 2.0
|
||||
page.notify :notice, t('users.destroy_successful', :login => @deleted_user.login), 2.0
|
||||
else
|
||||
page.notify :error, "There was an error deleting the user #{@deleted_user.login}", 8.0
|
||||
page.notify :error, t('users.destroy_error', :login => @deleted_user.login), 8.0
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue