aboutsummaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/views/comment/_single_comment.rhtml18
1 files changed, 12 insertions, 6 deletions
diff --git a/app/views/comment/_single_comment.rhtml b/app/views/comment/_single_comment.rhtml
index 9a59b6e83..b31d8f353 100644
--- a/app/views/comment/_single_comment.rhtml
+++ b/app/views/comment/_single_comment.rhtml
@@ -1,10 +1,16 @@
<div class="comment_in_request" id="comment-<%=comment.id.to_s%>">
- <p class="">
- On <%= simple_date(comment.created_at || Time.now) %>,
- <%= comment.user ? user_link(comment.user) : 'you' %> added an annotation:
- </p>
- <p>
- "<%= comment.get_body_for_html_display %>"
+ <h2>
+ Annotation by <%= comment.user ? user_link(comment.user) : 'you' %>
+ <br><br><%= simple_date(comment.created_at || Time.now) %>
+ </h2>
+ <div>
+ <%= comment.get_body_for_html_display %>
+ </div>
+ <p class="event_actions">
+ <% if !comment.id.nil? %>
+ <%= link_to "Link to this", comment_url(comment) %>
+ <!-- | <%= link_to "Report abuse", comment_url(comment) %> -->
+ <% end %>
</p>
</div>