Reply -> Comment

This commit is contained in:
Kyle Drake 2014-08-30 15:54:20 -07:00
parent 6b442bd318
commit ab0e6e7ab4

View file

@ -8,7 +8,13 @@
<% end %>
<% end %>
<% if current_site %>
<a id="reply" href="#" onclick="Template.renderComment(<%= event.id %>); return false">Reply</a>
<a id="reply" href="#" onclick="Template.renderComment(<%= event.id %>); return false">
<% if event.profile_comment_id %>
Reply
<% else %>
Comment
<% end %>
</a>
<% if event.profile_comment_id && event.created_by?(current_site) %>
<a id="editLink" href="#" onclick="ProfileComment.displayEditor('<%= event.id %>'); return false">Edit</a>
<% end %>