simple catalog support for moderators

This commit is contained in:
sshscp15
2022-06-20 15:09:55 -03:00
committed by Fredrick Brennan
parent c170bc7ef2
commit 4db4ab9cf0
7 changed files with 37 additions and 8 deletions

View File

@@ -80,7 +80,7 @@
[<a {% if page.selected %}class="selected"{% endif %}{% if not page.selected %}href="{{ page.link }}"{% endif %}>{{ page.num }}</a>]{% if loop.last %} {% endif %}
{% endfor %} {{ btn.next }}
{% if config.catalog_link %}
| <a href="{{ config.root }}{{ board.dir }}{{ config.catalog_link }}">{% trans %}Catalog{% endtrans %}</a>
| <a href="{{ config.root }}{% if mod %}{{ config.file_mod }}?/{% endif %}{{ board.dir }}{{ config.catalog_link }}">{% trans %}Catalog{% endtrans %}</a>
{% endif %}
</div>