nekrochan/templates/macros/staff-nav.html

27 řádky
828 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">
2024-02-17 21:24:39 +00:00
[<a href="/staff/account">Účet</a>]&#32;
[<a href="/staff/accounts">Účty</a>]&#32;
2023-12-11 15:18:43 +00:00
2023-12-25 13:53:44 +00:00
{% if tcx.perms.owner() || tcx.perms.board_config() || tcx.perms.banners() %}
2024-02-17 21:24:39 +00:00
[<a href="/staff/boards">Nástěnky</a>]&#32;
2023-12-11 15:18:43 +00:00
{% endif %}
2023-12-25 13:53:44 +00:00
{% if tcx.perms.owner() || tcx.perms.bans() %}
2024-02-17 21:24:39 +00:00
[<a href="/staff/bans">Bany</a>]&#32;
2023-12-11 15:18:43 +00:00
{% endif %}
2023-12-25 13:53:44 +00:00
{% if tcx.perms.owner() || tcx.perms.banners() %}
2024-02-17 21:24:39 +00:00
[<a href="/staff/banners">Bannery</a>]&#32;
2023-12-16 12:51:50 +00:00
{% endif %}
2023-12-25 13:53:44 +00:00
{% if tcx.perms.owner() || tcx.perms.reports() %}
2024-02-17 21:24:39 +00:00
[<a href="/staff/reports">Hlášení</a>]&#32;
2023-12-11 15:18:43 +00:00
{% endif %}
2024-01-15 15:06:25 +00:00
{% if tcx.perms.owner() || tcx.perms.news() %}
2024-02-17 21:24:39 +00:00
[<a href="/staff/news">Novinky</a>]&#32;
2024-01-15 15:06:25 +00:00
{% endif %}
2023-12-11 15:18:43 +00:00
</div>
{% endmacro %}