mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-26 20:08:51 +01:00
7 lines
No EOL
284 B
Text
7 lines
No EOL
284 B
Text
if @saved
|
|
page["user-#{@deleted_user.id}"].remove
|
|
page['user_count'].replace_html @total_users.to_s
|
|
page.notify :notice, t('users.destroy_successful', :login => @deleted_user.login), 2.0
|
|
else
|
|
page.notify :error, t('users.destroy_error', :login => @deleted_user.login), 8.0
|
|
end |