From 3ce87ab7d12c1a7e0f8e7b6c22703b1e10140467 Mon Sep 17 00:00:00 2001 From: dwn <dwendt@knights.ucf.edu> Date: Mon, 14 Sep 2015 02:10:17 -0400 Subject: [PATCH] Added post tools loop for plugins. --- templates/partials/topic/post-menu.tpl | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/templates/partials/topic/post-menu.tpl b/templates/partials/topic/post-menu.tpl index 3459069..03e5db1 100644 --- a/templates/partials/topic/post-menu.tpl +++ b/templates/partials/topic/post-menu.tpl @@ -24,6 +24,15 @@ <span class="menu-icon"><i class="fa fa-eraser"></i></span> [[topic:purge]] </a> </li> + + <!-- BEGIN posts.tools --> + <li role="presentation"> + <a component="{posts.tools.action}" role="menuitem" tabindex="-1" href="#"> + <span class="menu-icon"><i class="fa {posts.tools.icon}"></i></span> {{posts.tools.html}} + </a> + </li> + <!-- END posts.tools --> + <!-- IF posts.display_move_tools --> <li role="presentation"> <a component="post/move" role="menuitem" tabindex="-1" href="#"> @@ -69,4 +78,4 @@ </li> <!-- ENDIF !posts.selfPost --> </ul> -</div> \ No newline at end of file +</div>