bookend: Move conditional bookend content inside the template.

We move the stream subscribed/unsubscribed bookend info from
js files to bookend handlebar.

Tweaked by tabbott to override the check-templates indentation logic.
This commit is contained in:
Aman Agrawal
2021-11-03 08:41:43 +00:00
committed by Tim Abbott
parent d5a784a1ca
commit 0a614fe985
5 changed files with 76 additions and 60 deletions

View File

@@ -26,6 +26,8 @@ EXCLUDED_FILES = [
"templates/zerver/emails/missed_message.source.html",
# Previously unchecked and our parser doesn't like its indentation
"static/assets/icons/template.hbs",
# Template checker recommends very hard to read indentation.
"static/templates/bookend.hbs",
# The parser does not like the indentation of custom ReadTheDocs templates
"docs/_templates/layout.html",
]