Added ban reason #41
Reference in New Issue
Block a user
Delete Branch "bna"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Good idea!
@@ -14,0 +26,4 @@else@users = User.joins(:role).where.not(id: User.first.id) #Remove first userend@users = @users.order("roles.value desc", "confirmed desc", :name)This file can be quite huge, so it would be better to cache the parsed file (in the User model) for 10s or the likes
This should say something along the lines of "banned on the server"
Server bans and website bans are two separate things, so just use two separate if blocks instead of if/elsif here.
Consequently, this should say "banned on the website".