mirror of
https://github.com/TracksApp/tracks.git
synced 2026-02-23 15:44:09 +01:00
Updated to svn tags/tracks-1.6
This commit is contained in:
parent
103fcb8049
commit
02496f2d44
2274 changed files with 0 additions and 0 deletions
7
app/views/users/destroy.js.rjs
Normal file
7
app/views/users/destroy.js.rjs
Normal file
|
|
@ -0,0 +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
|
||||
else
|
||||
page.notify :error, "There was an error deleting the user #{@deleted_user.login}", 8.0
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue