diff options
author | 2019-04-18 17:55:21 +0100 | |
---|---|---|
committer | 2019-04-18 17:55:21 +0100 | |
commit | fab16f5da7bac8bf781e0d86076e9ef484e4047d (patch) | |
tree | 8c8c89cb9104337a6e6533471fa55ee4884364ab /pydis_site/templates/wiki/source.html | |
parent | Article deleted/Deleted list pages (diff) |
Source page
Diffstat (limited to 'pydis_site/templates/wiki/source.html')
-rw-r--r-- | pydis_site/templates/wiki/source.html | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/pydis_site/templates/wiki/source.html b/pydis_site/templates/wiki/source.html index 0c610208..caae077e 100644 --- a/pydis_site/templates/wiki/source.html +++ b/pydis_site/templates/wiki/source.html @@ -1,17 +1,15 @@ {% extends "wiki/article.html" %} -{% load wiki_tags i18n humanize %} +{% load wiki_tags humanize %} -{% block wiki_pagetitle %}{% trans "Source of" %} {{ article.current_revision.title }}{% endblock %} +{% block wiki_pagetitle %}Source of "{{ article.current_revision.title }}"{% endblock %} {% block wiki_contents_tab %} + {% if article.current_revision.locked %} + <p>This article is currently locked for editing.</p> + {% endif %} -{% if article.current_revision.locked %} -<p class="lead">{% trans "This article is currently locked for editing." %}</p> -{% endif %} - -<pre class="pre-scrollable"> - {{ article.current_revision.content }} -</pre> - + <pre class="is-fullwidth"> +{{ article.current_revision.content }} + </pre> {% endblock %} |