Unify comment icon on legislation questions
Remove unnecessary span class "debate-comments". We take advantage of this commit to also unify the format of the date that appears next to the comments with the rest of the application. The format that we removed is being used on the same page in the "Participation phases" tab (I guess that was the reason for putting it the same) but I think it makes more sense to use the date format that is used in this kind section in the rest of the application.
This commit is contained in:
@@ -2049,6 +2049,7 @@ table {
|
||||
|
||||
.budget-investment-info,
|
||||
.debate-info,
|
||||
.debate-meta,
|
||||
.investment-project-info,
|
||||
.legislation-comments,
|
||||
.proposal-info,
|
||||
|
||||
@@ -153,10 +153,6 @@
|
||||
.debate-meta a {
|
||||
font-size: $small-font-size;
|
||||
color: #6d6d6d;
|
||||
|
||||
.icon-comments {
|
||||
margin-right: rem-calc(3);
|
||||
}
|
||||
}
|
||||
|
||||
.debate-info {
|
||||
|
||||
@@ -6,9 +6,9 @@
|
||||
<h4><%= link_to question.title, legislation_process_question_path(question.process, question) %></h4>
|
||||
</div>
|
||||
<div class="debate-meta">
|
||||
<span class="icon-comments" aria-hidden="true"></span> <span class="debate-comments">
|
||||
<span class="comments-count">
|
||||
<%= link_to t("legislation.questions.question.comments", count: question.comments.count),
|
||||
legislation_process_question_path(question.process, question) %>
|
||||
</span> · <span class="debate-date"><%= format_date question.created_at %></span>
|
||||
</span> · <span class="debate-date"><%= l question.created_at.to_date %></span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user