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.

templates: Delete unused markdown_help.html.

Anders Kaseorg3e552268e564
diff --git a/templates/zerver/app/markdown_help.html b/templates/zerver/app/markdown_help.html
deleted file mode 100644
index 384d505290e..00000000000
--- a/templates/zerver/app/markdown_help.html
+++ /dev/null
@@ -1,20 +0,0 @@
-<div class="overlay-modal hide" id="message-formatting" tabindex="-1" role="dialog"
- aria-label="{{ _('Message formatting') }}">
- <div class="modal-body" data-simplebar data-simplebar-auto-hide="false">
- <div id="markdown-instructions">
- <table class="table table-striped table-condensed table-rounded table-bordered help-table">
- <thead>
- <tr>
- <th>{% trans %}You type{% endtrans %}</th>
- <th>{% trans %}You get{% endtrans %}</th>
- </tr>
- </thead>
-
- <tbody>
- </tbody>
- </table>
- </div>
- <hr>
- <a href="/help/format-your-message-using-markdown" target="_blank" rel="noopener noreferrer">{{ _('Detailed message formatting documentation') }}</a>
- </div>
-</div>
diff --git a/tools/check-templates b/tools/check-templates
index 83d0dbf28c1..40e85ed9530 100755
--- a/tools/check-templates
+++ b/tools/check-templates
@@ -122,8 +122,6 @@ def check_html_templates(templates: Iterable[str], all_dups: bool, fix: bool) ->
# These use various whitespace-dependent formatting that
# prevent cleaning them.
"templates/corporate/zephyr-mirror.html",
- # Can't clean this because of `preserve_spaces`
- "templates/zerver/app/markdown_help.html",
]
validate(fn=fn, check_indent=(fn not in bad_files))
@@ -133,8 +131,6 @@ def check_html_templates(templates: Iterable[str], all_dups: bool, fix: bool) ->
# for code blocks that prevent cleaning it. Might make sense
# to convert it to a /help/ Markdown article.
"templates/corporate/zephyr-mirror.html",
- # Can't clean this because of `preserve_spaces`
- "templates/zerver/app/markdown_help.html",
]
# TODO: Clean these files
for fn in templates: