aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--app/views/comment/_single_comment.rhtml3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/views/comment/_single_comment.rhtml b/app/views/comment/_single_comment.rhtml
index 8ff8bf254..003f60360 100644
--- a/app/views/comment/_single_comment.rhtml
+++ b/app/views/comment/_single_comment.rhtml
@@ -9,6 +9,9 @@
<p class="event_actions">
<% if !comment.id.nil? %>
<%= link_to "Link to this", comment_url(comment) %>
+ <% if !@user.nil? && @user.admin_page_links? %>
+ | <%= link_to "Admin", admin_url("request/edit_comment/" + comment.id.to_s) %>
+ <% end %>
<!-- | <%= link_to "Report abuse", comment_url(comment) %> -->
<% end %>
</p>