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_create: Always insert change-stream-privacy button.

YashRE42ca57400771de
diff --git a/static/templates/stream_settings/stream_settings.hbs b/static/templates/stream_settings/stream_settings.hbs
index c06ea3f2ba8..f3df573c456 100644
--- a/static/templates/stream_settings/stream_settings.hbs
+++ b/static/templates/stream_settings/stream_settings.hbs
@@ -46,14 +46,12 @@
<h3 class="stream_setting_subsection_title">
{{t "Stream permissions" }}
</h3>
- {{#if can_change_stream_permissions}}
<div class="stream_permission_change_info alert-notification"></div>
<div class="button-group">
- <a class="change-stream-privacy button rounded small btn-warning" role="button">
+ <a class="change-stream-privacy button rounded small btn-warning" {{#unless can_change_stream_permissions}}style="display:none"{{/unless}} role="button">
<i class="fa fa-pencil" aria-hidden="true"></i>
</a>
</div>
- {{/if}}
</div>
<div class="subscription-type">
<div class="subscription-type-text">