Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
streams: Reorder buttons in button-group to reflect the visual order.
m-e-l-u-h-a-n41dc123cf126
diff --git a/static/styles/subscriptions.css b/static/styles/subscriptions.cssindex 63fd36a47a7..30d514febfd 100644--- a/static/styles/subscriptions.css+++ b/static/styles/subscriptions.css@@ -851,15 +851,16 @@}}- .deactivate,- .subscribe-button {+ .button-group {float: right;margin-top: -5px;- margin-right: 5px;- }- .button-group {- float: right;+ .subscribe-button,+ #preview-stream-button,+ .deactivate {+ margin-right: 5px;+ text-decoration: none;+ }}.subscribe-button.unsubscribed {@@ -887,13 +888,6 @@margin-bottom: 5px;}- #preview-stream-button {- float: right;- margin-top: -5px;- margin-right: 5px;- text-decoration: none;- }-.editable-section {position: relative;display: inline;diff --git a/static/templates/subscription_settings.hbs b/static/templates/subscription_settings.hbsindex ca5c97839f9..4f9ccae1a87 100644--- a/static/templates/subscription_settings.hbs+++ b/static/templates/subscription_settings.hbs@@ -15,9 +15,6 @@{{/if}}</div><div class="button-group">- {{#if is_realm_admin}}- <button class="button small rounded btn-danger deactivate" type="button" name="delete_button" title="{{t 'Archive stream'}}"> <i class="fa fa-trash-o" aria-hidden="true"></i></button>- {{/if}}<div class="sub_unsub_button_wrapper inline-block"><button class="button small rounded subscribe-button sub_unsub_button {{#unless subscribed }}unsubscribed{{/unless}}" type="button" name="button" {{#if should_display_subscription_button}}title="{{t 'Toggle subscription'}} (S)" {{else}}disabled="disabled"{{/if}}>{{#if subscribed }}{{t "Unsubscribe"}}{{else}}{{t "Subscribe"}}{{/if}}</button>@@ -25,6 +22,9 @@<a href="{{preview_url}}" class="button small rounded" id="preview-stream-button" role="button" title="{{t 'View stream'}} (V)" {{#unless should_display_preview_button }}style="display: none"{{/unless}}><i class="fa fa-eye"></i></a>+ {{#if is_realm_admin}}+ <button class="button small rounded btn-danger deactivate" type="button" name="delete_button" title="{{t 'Archive stream'}}"> <i class="fa fa-trash-o" aria-hidden="true"></i></button>+ {{/if}}</div></div><div class="stream-description">