2
0
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:
2025-01-28 15:38:37 +00:00
parent bac65b5897
commit 11cf61b0a3
6 changed files with 72 additions and 43 deletions

View File

@@ -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 %}