Nekrocuck
This commit is contained in:
26
templates/macros/staff-nav.html
Normal file
26
templates/macros/staff-nav.html
Normal file
@@ -0,0 +1,26 @@
|
||||
{% macro staff_nav() %}
|
||||
<div class="pagination box inline-block">
|
||||
[<a href="/staff/account">Účet</a>] 
|
||||
[<a href="/staff/accounts">Účty</a>] 
|
||||
|
||||
{% if tcx.perms.owner() || tcx.perms.board_config() || tcx.perms.banners() %}
|
||||
[<a href="/staff/boards">Nástěnky</a>] 
|
||||
{% endif %}
|
||||
|
||||
{% if tcx.perms.owner() || tcx.perms.bans() %}
|
||||
[<a href="/staff/bans">Bany</a>] 
|
||||
{% endif %}
|
||||
|
||||
{% if tcx.perms.owner() || tcx.perms.banners() %}
|
||||
[<a href="/staff/banners">Bannery</a>] 
|
||||
{% endif %}
|
||||
|
||||
{% if tcx.perms.owner() || tcx.perms.reports() %}
|
||||
[<a href="/staff/reports">Hlášení</a>] 
|
||||
{% endif %}
|
||||
|
||||
{% if tcx.perms.owner() || tcx.perms.news() %}
|
||||
[<a href="/staff/news">Novinky</a>] 
|
||||
{% endif %}
|
||||
</div>
|
||||
{% endmacro %}
|
||||
Reference in New Issue
Block a user