summaryrefslogtreecommitdiffstats
path: root/templates/expopage.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/expopage.html')
-rw-r--r--templates/expopage.html20
1 files changed, 19 insertions, 1 deletions
diff --git a/templates/expopage.html b/templates/expopage.html
index 912fe5a..e1d5ad1 100644
--- a/templates/expopage.html
+++ b/templates/expopage.html
@@ -2,8 +2,24 @@
{% extends "expobase.html" %}
{% block title %}{{ title }}{% endblock %}
{% block bodyattrs %}{% if homepage %} id="homepage"{% endif %}{% endblock %}
+
{% block body %}
+{% if troggle %}
+<style>
+ h2#tophead {
+ margin-top: 5px;
+ margin-bottom: 20px;
+ margin-right: -22px;
+ margin-left: 0px;
+ }
+ h1 {
+ margin-top: 30px;
+ display: block;
+ }
+</style>
+{% endif %}
{{ body|safe }}
+
{% if homepage %}
{% if editable %}
<a href="{% url "editexpopage" path %}">Edit</a>
@@ -12,7 +28,9 @@
{% if not has_menu %}
{% include "menu.html" %}
{% else %}
- {% if editable %}<li><a href="{% url "editexpopage" path %}" class="editlink"><strong>Edit this Page</strong></a></li>{% endif %}
+ {% if editable %}
+ <li><a href="{% url "editexpopage" path %}" class="editlink"><strong>Edit this Page</strong></a></li>
+ {% endif %}
{% endif %}
{% endif %}
{% endblock %}