Remove all the translations that are left over after having unified them in the component.
33 lines
1.0 KiB
Plaintext
33 lines
1.0 KiB
Plaintext
<section class="comments-phase">
|
|
<header>
|
|
<h3><%= t("legislation.summary.allegations_phase") %></h3>
|
|
<h3><%= t("legislation.summary.top_comments", count: comments.count) %></h3>
|
|
</header>
|
|
|
|
<% if comments.any? %>
|
|
<div>
|
|
<% comments.group_by(&:commentable).each do |annotation, annotation_comments| %>
|
|
<div class="annotation-summary">
|
|
<span><%= t("legislation.annotations.index.comments_about") %></span>
|
|
<div class="annotation-title">
|
|
<div class="annotation-quote">
|
|
<%= annotation.quote %>
|
|
</div>
|
|
|
|
<%= render Shared::CommentsCountComponent.new(
|
|
annotation.comments_count,
|
|
url: polymorphic_path(annotation, anchor: "comments")
|
|
) %>
|
|
</div>
|
|
|
|
<%= render "summary_comments", comments: annotation_comments %>
|
|
</div>
|
|
<% end %>
|
|
</div>
|
|
<% else %>
|
|
<div class="callout primary">
|
|
<p><%= t("legislation.summary.no_allegation") %></p>
|
|
</div>
|
|
<% end %>
|
|
</section>
|