Fix URLs in `user_auto_banned_email`
Fix `user_auto_banned_email` to have the correct URLs to pages where: - the admin can unban banned users - the admin can update settings for auto-banning The URLs depend on whether the user is banned from an instance or from a namespace. Changelog: fixed EE: true
显示
- app/mailers/emails/admin_notification.rb 2 个添加, 18 个删除app/mailers/emails/admin_notification.rb
- ee/app/mailers/ee/emails/admin_notification.rb 30 个添加, 0 个删除ee/app/mailers/ee/emails/admin_notification.rb
- ee/app/views/notify/user_auto_banned_email.html.haml 2 个添加, 2 个删除ee/app/views/notify/user_auto_banned_email.html.haml
- ee/app/views/notify/user_auto_banned_email.text.erb 2 个添加, 2 个删除ee/app/views/notify/user_auto_banned_email.text.erb
- ee/spec/mailers/ee/emails/admin_notification_spec.rb 80 个添加, 0 个删除ee/spec/mailers/ee/emails/admin_notification_spec.rb
- spec/mailers/emails/admin_notification_spec.rb 0 个添加, 64 个删除spec/mailers/emails/admin_notification_spec.rb
想要评论请 注册 或 登录