fix: edit history button not showing up for all users in post tools

main
Julian Lam 4 years ago
parent cb7682935b
commit 8a369c2b33

@ -23,14 +23,6 @@
</li>
<!-- END -->
<!-- IF posts.display_history -->
<li>
<a component="post/view-history" role="menuitem" tabindex="-1" href="#">
<span class="menu-icon"><i class="fa fa-fw fa-history"></i></span> [[topic:view-history]]
</a>
</li>
<!-- END -->
<!-- IF posts.display_move_tools -->
<li>
<a component="post/move" role="menuitem" tabindex="-1" href="#">
@ -72,6 +64,14 @@
{{{end}}}
<!-- IF !posts.deleted -->
<!-- IF posts.display_history -->
<li>
<a component="post/view-history" role="menuitem" tabindex="-1" href="#">
<span class="menu-icon"><i class="fa fa-fw fa-history"></i></span> [[topic:view-history]]
</a>
</li>
<!-- END -->
<!-- IF config.loggedIn -->
<li>
<a component="post/bookmark" role="menuitem" tabindex="-1" href="#" data-bookmarked="{posts.bookmarked}">

Loading…
Cancel
Save