{% 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>
{% if forumNewLink is defined %}
<a href="{{ forumNewLink }}" class="input__button"><span class="fa fa-pencil-square-o"></span> New Topic</a>
{% if forumMarkRead is defined %}
<a href="{{ forumMarkRead }}" class="input__button"><span class="fa fa-check-square-o"></span> Mark as Read</a>
{% if topic.id is defined and showMod is defined %}
{% include 'forum/elements/forumMod.twig' %}
</div>
{% if pagination_url is defined %}
{{ pagination(pagination_url, pagination_pages, get.page|default(1), 'rightSide') }}