Remove math engines

This commit is contained in:
cuom1999 2024-02-26 14:49:52 -06:00
parent 3f53c62d4d
commit 1e7957a2cd
22 changed files with 67 additions and 81 deletions

View file

@ -2,7 +2,7 @@
{% block body %}
{% if request.organization %}
{% cache 3600 'organization_html' request.organization.id MATH_ENGINE %}
{% cache 3600 'organization_html' request.organization.id %}
{{ request.organization.about|markdown|reference|str|safe }}
{% endcache %}
{% else %}

View file

@ -37,7 +37,7 @@
{% endif %}
</div>
<div class="body content-description">
{% cache 86400 'post_content' post.id MATH_ENGINE %}
{% cache 86400 'post_content' post.id %}
{{ post.content|markdown|reference|str|safe}}
{% endcache %}
</div>

View file

@ -105,7 +105,7 @@
{% endif %}
<div style="padding: 0 1em;">
{% cache 3600 'contest_html' contest.id MATH_ENGINE %}
{% cache 3600 'contest_html' contest.id %}
{{ contest.description|markdown|reference|str|safe }}
{% endcache %}
</div>

View file

@ -40,7 +40,7 @@
<h3><i class="fa fa-info-circle"></i>{{ _('About') }}</h3>
<div class="sidebox-content">
<div style="margin: 0.3em;">
{% cache 3600 'organization_html' organization.id MATH_ENGINE %}
{% cache 3600 'organization_html' organization.id %}
{{ organization.about|markdown|reference|str|safe }}
{% endcache %}
</div>

View file

@ -81,7 +81,7 @@
<h3><i class="fa fa-info-circle"></i>{{ _('About') }}</h3>
<div class="sidebox-content">
<div style="margin: 0.3em;">
{% cache 3600 'organization_html' organization.id MATH_ENGINE %}
{% cache 3600 'organization_html' organization.id %}
{{ organization.about|markdown|reference|str|safe }}
{% endcache %}
</div>

View file

@ -380,7 +380,7 @@
</span>
</div>
{% cache 86400 'problem_html' problem.id MATH_ENGINE LANGUAGE_CODE %}
{% cache 86400 'problem_html' problem.id LANGUAGE_CODE %}
{{ description|markdown(lazy_load=True)|reference|str|safe }}
{% endcache %}

View file

@ -141,12 +141,6 @@
<td><label class="inline-header grayed">{{ _('Editor theme') }}:</label></td>
<td><span class="fullwidth">{{ form.ace_theme }}</span></td>
</tr>
{% if has_math_config %}
<tr>
<td><label class="inline-header grayed">{{ _('Math engine') }}:</label></td>
<td><span class="fullwidth">{{ form.math_engine }}</span></td>
</tr>
{% endif %}
</table>
</td>
</tr>