moderations: show comment username to avoid a click through
This commit is contained in:
parent
28bbc9c8f7
commit
d66648ff68
|
@ -23,8 +23,10 @@
|
||||||
<a href="<%= mod.story.comments_path %>">Story: <%= mod.story.title
|
<a href="<%= mod.story.comments_path %>">Story: <%= mod.story.title
|
||||||
%></a>
|
%></a>
|
||||||
<% elsif mod.comment %>
|
<% elsif mod.comment %>
|
||||||
<a href="<%= mod.comment.url %>">Comment on <%=
|
<a href="<%= mod.comment.url %>">Comment by
|
||||||
mod.comment.story.title %></a>
|
<%= mod.comment.user.username %>
|
||||||
|
on
|
||||||
|
<%= mod.comment.story.title %></a>
|
||||||
<% elsif mod.user_id %>
|
<% elsif mod.user_id %>
|
||||||
<% if mod.user %>
|
<% if mod.user %>
|
||||||
<a href="/u/<%= mod.user.username %>">User
|
<a href="/u/<%= mod.user.username %>">User
|
||||||
|
|
Loading…
Reference in a new issue