mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2026-02-08 09:26:47 +00:00
Put troggle reports menu on troggle handbook pages
This commit is contained in:
@@ -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 %}
|
||||
|
||||
Reference in New Issue
Block a user