Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

stream_settings: Make description field's label open edit modal.

PieterCKfe8169185370
diff --git a/web/templates/stream_settings/stream_settings.hbs b/web/templates/stream_settings/stream_settings.hbs
index 69643a55942..d3d12c1377d 100644
--- a/web/templates/stream_settings/stream_settings.hbs
+++ b/web/templates/stream_settings/stream_settings.hbs
@@ -13,7 +13,8 @@
{{> stream_settings_tip .}}
</div>
<div class="channel-description-box">
- <label class="settings-field-label">
+ <label class="settings-field-label {{#unless can_change_name_description}}cursor-text{{/unless}}"
+ for="{{#if can_change_name_description}}open_stream_info_modal{{/if}}">
{{t "Description" }}
{{> ../help_link_widget link="/help/change-the-channel-description" }}
</label>