nekrochan/templates/macros/staff-nav.html

23 řádky
711 B
HTML
Surový Normální zobrazení Historie

2023-12-25 13:53:44 +00:00
{% macro staff_nav() %}
2023-12-11 15:18:43 +00:00
<div class="box inline-block pagination">
<a href="/staff/account">[Účet]</a>&#32;
<a href="/staff/accounts">[Účty]</a>&#32;
2023-12-25 13:53:44 +00:00
{% if tcx.perms.owner() || tcx.perms.board_config() || tcx.perms.banners() %}
2023-12-11 15:18:43 +00:00
<a href="/staff/boards">[Nástěnky]</a>&#32;
{% endif %}
2023-12-25 13:53:44 +00:00
{% if tcx.perms.owner() || tcx.perms.bans() %}
2023-12-11 15:18:43 +00:00
<a href="/staff/bans">[Bany]</a>&#32;
{% endif %}
2023-12-25 13:53:44 +00:00
{% if tcx.perms.owner() || tcx.perms.banners() %}
2023-12-16 12:51:50 +00:00
<a href="/staff/banners">[Bannery]</a>&#32;
{% endif %}
2023-12-25 13:53:44 +00:00
{% if tcx.perms.owner() || tcx.perms.reports() %}
2023-12-11 15:18:43 +00:00
<a href="/staff/reports">[Hlášení]</a>&#32;
{% endif %}
</div>
{% endmacro %}