Commit 5b0e6d53 authored by Robert Lyon's avatar Robert Lyon

Bug 1752442: Showing edit/delete links to non group admins in forums

Also show a help icon to a form that is not shown

behatnotneeded

Change-Id: I603f42a757bd6b9617e59c1214c3e86e2930d995
Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
(cherry picked from commit af02288f)
parent afaaa4b4
......@@ -81,7 +81,7 @@
{$forum->subscribe|safe}
{/if}
</td>
{if $admin}
<td class="right control-buttons">
<div class="btn-group">
<a href="{$WWWROOT}interaction/edit.php?id={$forum->id}&amp;returnto=index" class="btn btn-default btn-sm" title="{str tag=edit}">
......@@ -95,6 +95,7 @@
</a>
</div>
</td>
{/if}
</tr>
{/foreach}
<tbody>
......
......@@ -132,14 +132,14 @@
{str tag="updateselectedtopics" section="interaction.forum"}
</button>
</span>
{if $moderator}
{contextualhelp plugintype='interaction' pluginname='forum' section='updatemod'}
{else}
{contextualhelp plugintype='interaction' pluginname='forum' section='update'}
{/if}
</div>
{/if}
<input type="hidden" name="sesskey" value="{$SESSKEY}">
{if $moderator}
{contextualhelp plugintype='interaction' pluginname='forum' section='updatemod'}
{else}
{contextualhelp plugintype='interaction' pluginname='forum' section='update'}
{/if}
</form>
</div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment