mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
streams: Add UI to add or remove stream from a folder.
This commit adds UI to add a stream to a folder while creating them and also for adding/removing an existing stream from a folder.
This commit is contained in:
@@ -27,7 +27,8 @@
|
||||
<div class="stream-types">
|
||||
{{> stream_types .
|
||||
is_stream_edit=false
|
||||
prefix="id_new_" }}
|
||||
prefix="id_new_"
|
||||
channel_folder_widget_name="new_channel_folder_id"}}
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
|
@@ -87,6 +87,7 @@
|
||||
is_stream_edit=true
|
||||
prefix="id_"
|
||||
group_setting_labels=../group_setting_labels
|
||||
channel_folder_widget_name="folder_id"
|
||||
}}
|
||||
{{/with}}
|
||||
<div class="stream_details_box">
|
||||
|
@@ -43,6 +43,25 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="channel-folder-subsection {{#if is_stream_edit}}settings-subsection-parent{{/if}}">
|
||||
<div class="channel-folder-title-container {{#if is_stream_edit}}subsection-header{{/if}}">
|
||||
<h3 class="stream_setting_subsection_title">{{t "Folders"}}</h3>
|
||||
{{#if is_stream_edit}}
|
||||
{{> ../settings/settings_save_discard_widget section_name="stream-permissions" }}
|
||||
{{/if}}
|
||||
</div>
|
||||
|
||||
<div class="input-group channel-folder-container">
|
||||
<label class="settings-field-label" for="{{channel_folder_widget_name}}_widget">
|
||||
{{t "Channel folder"}}
|
||||
</label>
|
||||
<span class="prop-element hide" id="id_{{channel_folder_widget_name}}" data-setting-widget-type="dropdown-list-widget" data-setting-value-type="number"></span>
|
||||
<div class="dropdown_widget_with_label_wrapper channel-folder-widget-container">
|
||||
{{> ../dropdown_widget widget_name=channel_folder_widget_name}}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="advanced-configurations-container {{#if is_stream_edit}}settings-subsection-parent{{/if}}">
|
||||
<div class="advance-config-title-container {{#if is_stream_edit}}subsection-header{{/if}}">
|
||||
<div class="advance-config-toggle-area">
|
||||
|
Reference in New Issue
Block a user