mirror of
https://github.com/zulip/zulip.git
synced 2025-10-31 20:13:46 +00:00
This commit replaces the allow_community_topic_editing boolean with integer field edit_topic_policy and includes both frontend and backend changes. We also update settings_ui.disable_sub_settings_onchange to not change the color of label as we did previously when the setting was a checkbox. But now as the setting is dropdown we keep the label as it is and we don't do anything with label when disabling dropdowns. Also, this function was used only here so we can safely change this.
18 lines
359 B
Python
18 lines
359 B
Python
# Generated by Django 3.2.2 on 2021-05-26 09:48
|
|
|
|
from django.db import migrations
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
("zerver", "0328_migrate_to_edit_topic_policy"),
|
|
]
|
|
|
|
operations = [
|
|
migrations.RemoveField(
|
|
model_name="realm",
|
|
name="allow_community_topic_editing",
|
|
),
|
|
]
|