mirror of
https://github.com/zulip/zulip.git
synced 2026-06-24 21:08:25 +08:00
- Add stamp file creation for the failed templates compilation. - Add error response to `home` route if stamp file exists. It appears just for the development environment. - Add jinja2 template for failed handlebars templates compilation error. Fixes #3650.
22 lines
565 B
HTML
22 lines
565 B
HTML
{% extends "zerver/portico.html" %}
|
|
|
|
{% block customhead %}
|
|
{{ super() }}
|
|
<meta http-equiv="refresh" content="60;URL='/'">
|
|
{% endblock %}
|
|
|
|
{% block portico_content %}
|
|
|
|
<br/>
|
|
<p class="lead">Error compiling handlebars templates.</p>
|
|
|
|
<p>
|
|
Your development environment has some changes to the the
|
|
handlebars templates (<code>static/templates/</code>) that cause
|
|
them to not compile. Error details are printed in
|
|
the <code>run-dev.py</code> console; this message will go away as
|
|
soon as the handlebars templates compile again.
|
|
</p>
|
|
|
|
{% endblock %}
|