zulip/templates
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
..
analytics linter: Enforce 2 space indents on tags spread over multiple lines. 2018-04-07 20:08:44 -07:00
confirmation Fix styling for confirmation error links. 2018-02-28 12:50:58 -08:00
corporate Fix various typos. 2017-11-09 16:26:38 +01:00
tests jinja2: Use function interface for render_markdown_path. 2017-07-31 14:54:54 -07:00
zerver linter: Enforce 2 space indents on tags spread over multiple lines. 2018-04-07 20:08:44 -07:00
zilencer /billing/: Rename "payment.html" => "billing.html". 2018-01-29 17:24:28 -08:00
.gitignore
404.html Make 4xx and 5xx pages full screen. 2017-08-08 11:58:22 -07:00
500.html Make 4xx and 5xx pages full screen. 2017-08-08 11:58:22 -07:00