Files
zulip/static/templates/propagate_notification_change.handlebars
Aditya Bansal b9f1acb300 linter: Enforce 2 space indents on tags spread over multiple lines.
We make some specific cases of tags use 2 space indents.
The case description:
* A tag with opening tag spread over multiple lines and closing tag
on the same line as of the closing angle bracket of the opening tag.
* A tag with opening tag spread over multiple lines and closing tag
not on the same line as of the closing angle bracket of the opening
tag.

Example:
Case 1:

Not linted:
<button type="button"
class="btn btn-primary btn-small">{{t "Yes" }}</button>

After linting:
<button type="button"
  class="btn btn-primary btn-small">{{t "Yes" }}</button>

Case 2:

Before linting:
<div class = "foo"
     id = "bar"
     role = "whatever">
     {{ bla }}
</div>

After linting:
<div class = "foo"
  id = "bar"
  role = "whatever">
    {{ bla }}
</div>
2018-04-07 20:08:44 -07:00

13 lines
473 B
Handlebars

<div>
<p>{{t "Apply this change to all current stream subscriptions?" }}</p>
<div class="control-group">
<div class="controls propagate-notifications-controls">
<button type="button"
class="yes_propagate_notifications btn btn-primary btn-small">{{t "Yes" }}</button>
<button type="button"
class="no_propagate_notifications btn btn-default btn-small">{{t "No" }}</button>
</div>
</div>
</div>