aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/templates/wiki/preview_inline.html
diff options
context:
space:
mode:
Diffstat (limited to 'pydis_site/templates/wiki/preview_inline.html')
-rw-r--r--pydis_site/templates/wiki/preview_inline.html20
1 files changed, 10 insertions, 10 deletions
diff --git a/pydis_site/templates/wiki/preview_inline.html b/pydis_site/templates/wiki/preview_inline.html
index a130df05..a01c963a 100644
--- a/pydis_site/templates/wiki/preview_inline.html
+++ b/pydis_site/templates/wiki/preview_inline.html
@@ -1,6 +1,9 @@
{% extends "wiki/base.html" %}
-{% load wiki_tags i18n sekizai_tags static %}
+{% load sekizai_tags %}
+{% load static %}
+{% load wiki_tags %}
+{# We make these empty so they don't appear in the preview #}
{% block site_navbar %}{% endblock %}
{% block site_footer %}{% endblock %}
{% block wiki_breadcrumbs %}{% endblock %}
@@ -21,31 +24,29 @@
{% if merge %}
<div class="alert alert-info">
- <strong>{% trans "Previewing merge between" %}:</strong>
+ <strong>Previewing merge between:</strong>
{% include "wiki/includes/revision_info.html" with revision=merge1 %}
- <strong>{% trans "and" %}</strong>
+ <strong>and</strong>
{% include "wiki/includes/revision_info.html" with revision=merge2 %}
</div>
{% if merge1.deleted %}
<div class="alert alert-danger">
- <strong>{% trans "You cannot merge with a deleted revision" %}</strong>
+ <strong>You cannot merge with a deleted revision</strong>
</div>
{% endif %}
{% endif %}
{% if revision and revision.deleted %}
<div class="warning">
- <strong>{% trans "This revision has been deleted." %}</strong>
- <p>{% trans "Restoring to this revision will mark the article as deleted." %}</p>
+ <strong>This revision has been deleted.</strong>
+ <p>Restoring to this revision will mark the article as deleted.</p>
</div>
{% else %}
-
<section class="section">
<div class="container">
<div class="content">
-
- <h1 class="title">{{ article.current_revision.title }}</h1>
+ <h1 class="title">{{ article.current_revision.title }}</h1>
{% wiki_render article content %}
</div>
@@ -69,5 +70,4 @@
{% endif %}
{% endfor %}
{% endif %}
-
{% endblock %}