24 lines
1.1 KiB
Twig
24 lines
1.1 KiB
Twig
{% from 'macros.twig' import pagination %}
|
|
|
|
<div class="forum-list__buttons">
|
|
<div>
|
|
{% if forumBackLink is defined %}
|
|
<a href="{{ forumBackLink }}" class="input__button"><span class="fa fa-backward"></span> Back</a>
|
|
{% endif %}
|
|
{% if forumReplyLink is defined %}
|
|
<a href="{{ forumReplyLink }}" class="input__button"><span class="fa fa-reply-all"></span> Reply</a>
|
|
{% endif %}
|
|
{% if forumNewLink is defined %}
|
|
<a href="{{ forumNewLink }}" class="input__button"><span class="fa fa-pencil-square-o"></span> New Topic</a>
|
|
{% endif %}
|
|
{% if forumMarkRead is defined %}
|
|
<a href="{{ forumMarkRead }}" class="input__button"><span class="fa fa-check-square-o"></span> Mark as Read</a>
|
|
{% endif %}
|
|
{% if topic.id is defined and showMod is defined %}
|
|
{% include 'forum/elements/forumMod.twig' %}
|
|
{% endif %}
|
|
</div>
|
|
{% if pagination_url is defined %}
|
|
{{ pagination(pagination_url, pagination_pages, get.page|default(1), 'rightSide') }}
|
|
{% endif %}
|
|
</div>
|