This repository has been archived on 2024-06-26. You can view files and clone it, but cannot push or open issues or pull requests.
sakura/templates/yuuno/forum/forumBtns.twig

44 lines
2.1 KiB
Twig
Raw Normal View History

{% set paginationClass = 'rightSide' %}
2015-07-31 21:18:14 +00:00
<div class="buttonRow pagination">
2015-07-05 15:03:58 +00:00
<div class="leftSide">
{% if forumBackLink %}
<a href="{{ forumBackLink }}" class="forumbtn"><span class="fa fa-backward"></span> Back</a>
2015-07-05 15:03:58 +00:00
{% endif %}
{% if forumReplyLink %}
<a href="{{ forumReplyLink }}" class="forumbtn"><span class="fa fa-reply-all"></span> Reply</a>
{% endif %}
{% if forumNewLink %}
<a href="{{ forumNewLink }}" class="forumbtn"><span class="fa fa-pencil-square-o"></span> New Thread</a>
2015-07-05 15:03:58 +00:00
{% endif %}
{% if forumMarkRead %}
<a href="{{ forumMarkRead }}" class="forumbtn"><span class="fa fa-check-square-o"></span> Mark as Read</a>
{% endif %}
2016-01-10 18:24:47 +00:00
{% if forumSticky %}
<a href="{{ forumSticky }}" class="forumbtn"><span class="fa fa-thumb-tack"></span> Stick</a>
{% elseif forumUnsticky %}
<a href="{{ forumUnsticky }}" class="forumbtn"><span class="fa fa-remove"></span> Unstick</a>
{% endif %}
{% if forumAnnounce %}
<a href="{{ forumAnnounce }}" class="forumbtn"><span class="fa fa-bullhorn"></span> Announce</a>
{% elseif forumUnannounce %}
<a href="{{ forumUnannounce }}" class="forumbtn"><span class="fa fa-remove"></span> Unannounce</a>
{% endif %}
{% if forumLock %}
<a href="{{ forumLock }}" class="forumbtn"><span class="fa fa-lock"></span> Lock</a>
{% elseif forumUnlock %}
<a href="{{ forumUnlock }}" class="forumbtn"><span class="fa fa-unlock"></span> Unlock</a>
{% endif %}
{% if forumRestore %}
<a href="{{ forumRestore }}" class="forumbtn"><span class="fa fa-history"></span> Restore</a>
{% endif %}
{% if forumTrash %}
<a href="{{ forumTrash }}" class="forumbtn"><span class="fa fa-trash"></span> Trash</a>
{% elseif forumPrune %}
<a href="{{ forumPrune }}" class="forumbtn"><span class="fa fa-bomb"></span> Prune</a>
{% endif %}
2015-07-05 15:03:58 +00:00
</div>
2016-01-04 20:14:09 +00:00
{% include 'elements/pagination.twig' %}
2015-07-05 15:03:58 +00:00
<div class="clear"></div>
2015-07-31 21:18:14 +00:00
</div>