Add context to annotation in index view
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
<% end %>
|
||||
</span>
|
||||
<div class="comment-section">
|
||||
<%= annotation.quote %>
|
||||
<%= annotation.context.try(:html_safe).presence || annotation.quote %>
|
||||
</div>
|
||||
<%= link_to legislation_process_draft_version_annotation_path(@process, @draft_version, annotation) do %>
|
||||
<span class="icon-comments" aria-hidden="true"></span> <span><%= t('.comments_count', count: annotation.comments_count) %></span></a>
|
||||
|
||||
Reference in New Issue
Block a user