make "browse holes" button visible inside holes

master
Aevann1 2022-06-22 22:52:19 +02:00
parent ffcdc0aafe
commit cbc2a07818
3 changed files with 3 additions and 1 deletions

View File

@ -22,6 +22,7 @@
{% if v.can_create_hole -%}
<a class="btn btn-primary btn-block mb-3" href="/create_hole">CREATE HOLE</a>
{%- endif %}
<a class="btn btn-primary btn-block mb-3" href="/holes">BROWSE HOLES</a>
{% if v.mods(sub.name) %}
<a class="btn btn-primary btn-block mb-3" href="/h/{{sub.name}}/settings">HOLE SETTINGS</a>
{% endif %}

View File

@ -11,7 +11,7 @@
<div class="mb-4">{{sub.sidebar_html|safe}}</div>
{% endif %}
{% if v and v.mods(sub.name) %}
<a class="btn btn-primary btn-block" href="/h/{{sub.name}}/settings">SUB SETTINGS</a>
<a class="btn btn-primary btn-block" href="/h/{{sub.name}}/settings">HOLE SETTINGS</a>
{% endif %}
<a class="btn btn-primary btn-block" href="/h/{{sub.name}}/mods">HOLE MODS</a>
<a class="btn btn-primary btn-block" href="/h/{{sub.name}}/exilees">HOLE EXILEES</a>

View File

@ -66,6 +66,7 @@ set VISITORS_HERE_FLAVOR = [
{% if v.can_create_hole -%}
<a class="btn btn-primary btn-block mb-3" href="/create_hole">CREATE HOLE</a>
{%- endif %}
<a class="btn btn-primary btn-block mb-3" href="/holes">BROWSE HOLES</a>
{% if v.mods(sub.name) %}
<a class="btn btn-primary btn-block mb-3" href="/h/{{sub.name}}/settings">HOLE SETTINGS</a>
{% endif %}