summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/base.html8
1 files changed, 5 insertions, 3 deletions
diff --git a/templates/base.html b/templates/base.html
index 49e3909..1269fad 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -34,9 +34,11 @@
<a href="{% url "search" %}" title="Search" {% if top_section == "search" %}class="selected"{% endif %}>
<i class="fa-solid fa-search"></i>
</a>
- <a href="{% url "settings" %}" title="Settings" {% if top_section == "settings" %}class="selected"{% endif %}>
- <i class="fa-solid fa-gear"></i>
- </a>
+ {% if allows_refresh %}
+ <a href="." title="Refresh" hx-get="." hx-select=".left-column" hx-target=".left-column" hx-swap="outerHTML">
+ <i class="fa-solid fa-rotate"></i>
+ </a>
+ {% endif %}
<div class="gap"></div>
<a href="/identity/select/" class="identity">
{% if not request.identity %}