Skip to content

Commit

Permalink
fixed delete answer link not shown
Browse files Browse the repository at this point in the history
  • Loading branch information
albogdano committed May 2, 2017
1 parent 4a09c26 commit 9d54678
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/resources/templates/macro.vm
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,8 @@
#if ($canEdit)
<a href="#" title="Edit" class="editlink prm"><i class="fa fa-pencil-square"></i> $!lang.get("edit")</a>
#end
#if ($isMine || $isMod)

#if (($authenticated && $showpost.creatorid == $authUser.id) || $isMod)
<a href="$!actionlink/$showpost.id/delete" class="post-refresh-ask red-text prm" title="Delete"><i class="fa fa-times"></i> $!lang.get("delete")</a>
#end

Expand Down

0 comments on commit 9d54678

Please sign in to comment.