Remove after icon-comments
At some other time we will try to remove all the For now we start with what we added after the comments icon.
This commit is contained in:
@@ -2047,6 +2047,21 @@ table {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.budget-investment-info,
|
||||
.debate-info,
|
||||
.investment-project-info,
|
||||
.proposal-info,
|
||||
.topic-info {
|
||||
|
||||
.comments-count {
|
||||
@include has-fa-icon(comments, regular);
|
||||
|
||||
&::before {
|
||||
margin-right: 0.3rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// 16. Flags
|
||||
// ---------
|
||||
|
||||
|
||||
@@ -2,9 +2,10 @@
|
||||
<%= l investment.created_at.to_date %>
|
||||
<span class="bullet"> • </span>
|
||||
|
||||
<span class="icon-comments"></span>
|
||||
<%= link_to t("shared.comments", count: investment.comments_count),
|
||||
budget_investment_path(investment.budget, investment, anchor: "comments") %>
|
||||
<span class="comments-count">
|
||||
<%= link_to t("shared.comments", count: investment.comments_count),
|
||||
budget_investment_path(investment.budget, investment, anchor: "comments") %>
|
||||
</span>
|
||||
|
||||
<% if investment.author.hidden? || investment.author.erased? %>
|
||||
<span class="bullet"> • </span>
|
||||
|
||||
@@ -17,8 +17,9 @@
|
||||
<span class="bullet"> • </span>
|
||||
<%= l @debate.created_at.to_date %>
|
||||
<span class="bullet"> • </span>
|
||||
<span class="icon-comments"></span>
|
||||
<%= link_to t("debates.show.comments", count: @debate.comments_count), debate_path(@debate, anchor: "comments") %>
|
||||
<span class="comments-count">
|
||||
<%= link_to t("debates.show.comments", count: @debate.comments_count), debate_path(@debate, anchor: "comments") %>
|
||||
</span>
|
||||
<span class="bullet"> • </span>
|
||||
<span class="js-flag-actions">
|
||||
<%= render "shared/flag_actions", flaggable: @debate %>
|
||||
|
||||
@@ -5,8 +5,9 @@
|
||||
<span class="bullet"> • </span>
|
||||
<%= l investment.created_at.to_date %>
|
||||
<span class="bullet"> • </span>
|
||||
<span class="icon-comments"></span>
|
||||
<%= link_to t("shared.comments", count: investment.comments_count), "#comments" %>
|
||||
<span class="comments-count">
|
||||
<%= link_to t("shared.comments", count: investment.comments_count), "#comments" %>
|
||||
</span>
|
||||
<span class="bullet"> • </span>
|
||||
<%= investment.heading.name %>
|
||||
<span class="bullet"> • </span>
|
||||
|
||||
@@ -7,8 +7,10 @@
|
||||
<div class="debate-content">
|
||||
<h3><%= link_to debate.title, debate %></h3>
|
||||
<p class="debate-info">
|
||||
<span class="icon-comments"></span>
|
||||
<%= link_to t("debates.debate.comments", count: debate.comments_count), debate_path(debate, anchor: "comments") %>
|
||||
<span class="comments-count">
|
||||
<%= link_to t("debates.debate.comments", count: debate.comments_count),
|
||||
debate_path(debate, anchor: "comments") %>
|
||||
</span>
|
||||
<span class="bullet"> • </span>
|
||||
<%= l debate.created_at.to_date %>
|
||||
|
||||
|
||||
@@ -26,8 +26,9 @@
|
||||
<span class="bullet"> • </span>
|
||||
<%= l @debate.created_at.to_date %>
|
||||
<span class="bullet"> • </span>
|
||||
<span class="icon-comments"></span>
|
||||
<%= link_to t("debates.show.comments", count: @debate.comments_count), "#comments" %>
|
||||
<span class="comments-count">
|
||||
<%= link_to t("debates.show.comments", count: @debate.comments_count), "#comments" %>
|
||||
</span>
|
||||
<span class="bullet"> • </span>
|
||||
<span class="js-flag-actions">
|
||||
<%= render "shared/flag_actions", flaggable: @debate %>
|
||||
|
||||
@@ -19,9 +19,11 @@
|
||||
<% cache [locale_and_user_status(proposal), "index", proposal, proposal.author] do %>
|
||||
<h3><%= link_to proposal.title, legislation_process_proposal_path(proposal.legislation_process_id, proposal) %></h3>
|
||||
<p class="proposal-info">
|
||||
<span class="icon-comments"></span>
|
||||
<%= link_to t("proposals.proposal.comments", count: proposal.comments_count), legislation_process_proposal_path(proposal.legislation_process_id, proposal, anchor: "comments") %>
|
||||
|
||||
<span class="comments-count">
|
||||
<%= link_to t("proposals.proposal.comments", count: proposal.comments_count),
|
||||
legislation_process_proposal_path(proposal.legislation_process_id, proposal,
|
||||
anchor: "comments") %>
|
||||
</span>
|
||||
<span class="bullet"> • </span>
|
||||
<%= l proposal.created_at.to_date %>
|
||||
|
||||
|
||||
@@ -44,8 +44,9 @@
|
||||
<span class="bullet"> • </span>
|
||||
<%= l @proposal.created_at.to_date %>
|
||||
<span class="bullet"> • </span>
|
||||
<span class="icon-comments"></span>
|
||||
<%= link_to t("proposals.show.comments", count: @proposal.comments_count), "#comments" %>
|
||||
<span class="comments-count">
|
||||
<%= link_to t("proposals.show.comments", count: @proposal.comments_count), "#comments" %>
|
||||
</span>
|
||||
|
||||
<% if current_user %>
|
||||
<span class="bullet"> • </span>
|
||||
|
||||
@@ -6,8 +6,9 @@
|
||||
|
||||
<% unless @proposal.selected? %>
|
||||
<span class="bullet"> • </span>
|
||||
<span class="icon-comments"></span>
|
||||
<%= link_to t("proposals.show.comments", count: @proposal.comments_count), "#comments" %>
|
||||
<span class="comments-count">
|
||||
<%= link_to t("proposals.show.comments", count: @proposal.comments_count), "#comments" %>
|
||||
</span>
|
||||
<% end %>
|
||||
|
||||
<% if current_user %>
|
||||
|
||||
@@ -21,9 +21,10 @@
|
||||
<% cache [locale_and_user_status(proposal), "index", proposal, proposal.author] do %>
|
||||
<h3><%= link_to proposal.title, namespaced_proposal_path(proposal) %></h3>
|
||||
<p class="proposal-info">
|
||||
<span class="icon-comments"></span>
|
||||
<%= link_to t("proposals.proposal.comments", count: proposal.comments_count),
|
||||
namespaced_proposal_path(proposal, anchor: "comments") %>
|
||||
<span class="comments-count">
|
||||
<%= link_to t("proposals.proposal.comments", count: proposal.comments_count),
|
||||
namespaced_proposal_path(proposal, anchor: "comments") %>
|
||||
</span>
|
||||
|
||||
<span class="bullet"> • </span>
|
||||
<%= l proposal.created_at.to_date %>
|
||||
|
||||
@@ -5,8 +5,10 @@
|
||||
<h3><%= link_to topic.title, community_topic_path(@community, topic) %></h3>
|
||||
|
||||
<p class="topic-info">
|
||||
<span class="icon-comments"></span>
|
||||
<%= link_to t("community.show.topic.comments", count: topic.comments_count), community_topic_path(@community, topic, anchor: "comments") %>
|
||||
<span class="comments-count">
|
||||
<%= link_to t("community.show.topic.comments", count: topic.comments_count),
|
||||
community_topic_path(@community, topic, anchor: "comments") %>
|
||||
</span>
|
||||
<span class="bullet"> • </span>
|
||||
<%= I18n.l topic.created_at.to_date %>
|
||||
<span class="bullet"> • </span>
|
||||
|
||||
@@ -14,9 +14,10 @@
|
||||
<span class="bullet"> • </span>
|
||||
<%= l(@topic.created_at.to_date) %>
|
||||
<span class="bullet"> • </span>
|
||||
<span class="icon-comments"></span>
|
||||
<%= link_to t("community.show.topic.comments", count: @topic.comments_count),
|
||||
community_topic_path(@community, @topic, anchor: "comments") %>
|
||||
<span class="comments-count">
|
||||
<%= link_to t("community.show.topic.comments", count: @topic.comments_count),
|
||||
community_topic_path(@community, @topic, anchor: "comments") %>
|
||||
</span>
|
||||
</div>
|
||||
<br>
|
||||
<p><%= @topic.description %></p>
|
||||
|
||||
Reference in New Issue
Block a user