mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FEATURE: display process information on flag modal (#31300)
Information about the process is displayed on top of the flag modal. In addition `allow_tl0_and_anonymous_users_to_flag_illegal_content` site setting was renamed to `allow_all_users_to_flag_illegal_content` as it is more descriptive. <img width="629" alt="Screenshot 2025-02-12 at 3 58 12 pm" src="https://github.com/user-attachments/assets/67c74ebc-6771-490d-b2c4-cbec25db8128" /> <img width="642" alt="Screenshot 2025-02-12 at 3 58 04 pm" src="https://github.com/user-attachments/assets/5e4b8c84-601a-40c2-812f-b73d2b88a549" />
This commit is contained in:
committed by
GitHub
parent
fa8945fee2
commit
2763e1726e
@@ -0,0 +1,10 @@
|
||||
# frozen_string_literal: true
|
||||
class RenameAllowAllUsersToFlagIllegalContentSiteSetting < ActiveRecord::Migration[7.2]
|
||||
def up
|
||||
execute "UPDATE site_settings SET name = 'allow_all_users_to_flag_illegal_content' where name = 'allow_tl0_and_anonymous_users_to_flag_illegal_content'"
|
||||
end
|
||||
|
||||
def down
|
||||
execute "UPDATE site_settings SET name = 'allow_tl0_and_anonymous_users_to_flag_illegal_content' where name = 'allow_all_users_to_flag_illegal_content'"
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user