<commit_before>{% extends "zerver/portico.html" %}

{% block title %}
<title>{{ _("Internal server error") }} | Zulip</title>
{% endblock %}

{% block customhead %}
{{ super() }}
<meta http-equiv="refresh" content="60;URL='/'" />
{% endblock %}

{% block portico_class_name %}error{% endblock %}

{% block portico_content %}
<div class="error_page">
    <div class="container">
        <div class="row-fluid">
            <img src="/static/images/errors/500art.svg" alt=""/>
            <div class="errorbox">
                <div class="errorcontent">
                    <h1 class="lead">{{ _("Internal server error") }}</h1>
                    {% trans %}
                    <p>This Zulip server is currently experiencing some technical difficulties. Sorry about that!</p>
                    <p>The page will reload automatically soon after service is restored.</p>
                    <p>If you'd like, you can <a href="mailto:{{ support_email }}">drop us a line</a> to let us know what happened.</p>
                    {% endtrans %}
                </div>

            </div>
        </div>
    </div>
</div>

{% endblock %}
<commit_msg>templates: Improve text on 500 error pages.<commit_after>{% extends "zerver/portico.html" %}

{% block title %}
<title>{{ _("Internal server error") }} | Zulip</title>
{% endblock %}

{% block customhead %}
{{ super() }}
<meta http-equiv="refresh" content="60;URL='/'" />
{% endblock %}

{% block portico_class_name %}error{% endblock %}

{% block portico_content %}
<div class="error_page">
    <div class="container">
        <div class="row-fluid">
            <img src="/static/images/errors/500art.svg" alt=""/>
            <div class="errorbox">
                <div class="errorcontent">
                    <h1 class="lead">{{ _("Internal server error") }}</h1>
                    <p>
                        {% trans %}
                        Your Zulip chat cannot be loaded because the server is experiencing technical difficulties.
                        {% endtrans %}
                    </p>
                    <p>
                        {% trans %}
                        This page will reload automatically when service is restored.
                        {% endtrans %}
                        {% if corporate_enabled %}
                            {% trans %}
                            In the meantime, you can <a href="mailto:{{support_email}}">contact Zulip support</a>.
                            {% endtrans %}
                        {% else %}
                            {% trans %}
                            In the meantime, you can <a href="mailto:{{support_email}}">contact
                            this server's administrators</a> for support.
                            {% endtrans %}
                        {% endif %}
                    </p>
                    {% if not corporate_enabled %}
                        <p>
                            {% trans troubleshooting_url="https://zulip.readthedocs.io/en/latest/production/troubleshooting.html" %}
                            If you administer this server, you may want to check out the
                            <a href="{{troubleshooting_url}}">Zulip server troubleshooting guide</a>.
                            {% endtrans %}
                        </p>
                    {% endif %}
                </div>
            </div>
        </div>
    </div>
</div>

{% endblock %}

{'fraction_non_alphanumeric': 0.1387434554973822, 'fraction_numerical': 0.0049447353112274574, 'mean_word_length': 1.4581844174410292, 'pattern_counts': {'":': 0, '<': 55, '<?xml version=': 0, '>': 55, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 3, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5480177', 'n_tokens_mistral': 974, 'n_tokens_neox': 848, 'n_words': 232}