You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
76 lines
2.6 KiB
Smarty
76 lines
2.6 KiB
Smarty
<!-- IF privileges.view_thread_tools -->
|
|
<div class="btn-group thread-tools">
|
|
<button class="btn btn-default dropdown-toggle" data-toggle="dropdown" type="button">
|
|
<span class="visible-sm-inline visible-md-inline visible-lg-inline">[[topic:thread_tools.title]]</span>
|
|
<span class="visible-xs-inline"><i class="fa fa-fw fa-gear"></i></span>
|
|
<span class="caret"></span>
|
|
</button>
|
|
<ul class="dropdown-menu dropdown-menu-right">
|
|
<!-- IF privileges.editable -->
|
|
<li>
|
|
<a component="topic/mark-unread-for-all" href="#">
|
|
<i class="fa fa-fw fa-inbox"></i> [[topic:thread_tools.markAsUnreadForAll]]
|
|
</a>
|
|
</li>
|
|
<li>
|
|
<a component="topic/pin" href="#" class="<!-- IF pinned -->hidden<!-- ENDIF pinned -->">
|
|
<i class="fa fa-fw fa-thumb-tack"></i> [[topic:thread_tools.pin]]
|
|
</a>
|
|
</li>
|
|
<li>
|
|
<a component="topic/unpin" href="#" class="<!-- IF !pinned -->hidden<!-- ENDIF !pinned -->">
|
|
<i class="fa fa-fw fa-thumb-tack fa-rotate-90"></i> [[topic:thread_tools.unpin]]
|
|
</a>
|
|
</li>
|
|
<li>
|
|
<a component="topic/lock" href="#" class="<!-- IF locked -->hidden<!-- ENDIF locked -->">
|
|
<i class="fa fa-fw fa-lock"></i> [[topic:thread_tools.lock]]
|
|
</a>
|
|
</li>
|
|
<li>
|
|
<a component="topic/unlock" href="#" class="<!-- IF !locked -->hidden<!-- ENDIF !locked -->">
|
|
<i class="fa fa-fw fa-unlock"></i> [[topic:thread_tools.unlock]]
|
|
</a>
|
|
</li>
|
|
<li class="divider"></li>
|
|
<li>
|
|
<a component="topic/move" href="#">
|
|
<i class="fa fa-fw fa-arrows"></i> [[topic:thread_tools.move]]
|
|
</a>
|
|
</li>
|
|
<li>
|
|
<a component="topic/fork" href="#">
|
|
<i class="fa fa-fw fa-code-fork"></i> [[topic:thread_tools.fork]]
|
|
</a>
|
|
</li>
|
|
<li class="divider"></li>
|
|
<!-- ENDIF privileges.editable -->
|
|
|
|
<!-- IF privileges.deletable -->
|
|
<li>
|
|
<a component="topic/delete" href="#" class="<!-- IF deleted -->hidden<!-- ENDIF deleted -->">
|
|
<i class="fa fa-fw fa-trash-o"></i> [[topic:thread_tools.delete]]
|
|
</a>
|
|
</li>
|
|
<li>
|
|
<a component="topic/restore" href="#" class="<!-- IF !deleted -->hidden<!-- ENDIF !deleted -->">
|
|
<i class="fa fa-fw fa-history"></i> [[topic:thread_tools.restore]]
|
|
</a>
|
|
</li>
|
|
<li>
|
|
<a component="topic/purge" href="#" class="<!-- IF !deleted -->hidden<!-- ENDIF !deleted -->">
|
|
<i class="fa fa-fw fa-eraser"></i> [[topic:thread_tools.purge]]
|
|
</a>
|
|
</li>
|
|
<!-- ENDIF privileges.deletable -->
|
|
|
|
<!-- IF privileges.editable -->
|
|
<!-- BEGIN thread_tools -->
|
|
<li>
|
|
<a href="#" class="{thread_tools.class}"><i class="fa fa-fw {thread_tools.icon}"></i> {thread_tools.title}</a>
|
|
</li>
|
|
<!-- END thread_tools -->
|
|
<!-- ENDIF privileges.editable -->
|
|
</ul>
|
|
</div>
|
|
<!-- ENDIF privileges.view_thread_tools --> |