Skip to content

Commit

Permalink
fix: QoL Changelog uses full colum and displays the menutree.
Browse files Browse the repository at this point in the history
  • Loading branch information
redimp committed Sep 3, 2024
1 parent 0f95755 commit 2e9927d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions otterwiki/templates/changelog.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@
{{ super() }}
<meta name="robots" content="noindex, nofollow"/>
{% endblock %}
{% block extra_nav %}{% endblock %}
{% block menu %}
{{ super() }}
{% include 'snippets/menutree.html' %}
{% endblock %}
{% block content %}
<div class="w-full mw-full p-0 clearfix">
<h2 class="float-left">Changelog</h2>
Expand Down
2 changes: 2 additions & 0 deletions otterwiki/wiki.py
Original file line number Diff line number Diff line change
Expand Up @@ -350,6 +350,7 @@ def render(self):
# use the shorter page list
pages = pages_short

menutree = SidebarNavigation(get_page_directoryname("/"))
return render_template(
"changelog.html",
log=log,
Expand All @@ -359,6 +360,7 @@ def render(self):
last_page=last_page,
previous_page=previous_page,
next_page=next_page,
menutree=menutree.query(),
)

def revert_form(self, revision, message):
Expand Down

0 comments on commit 2e9927d

Please sign in to comment.