diff --git a/app/assets/stylesheets/debates.scss b/app/assets/stylesheets/debates.scss index 23e7d3a55..6e0f142bd 100644 --- a/app/assets/stylesheets/debates.scss +++ b/app/assets/stylesheets/debates.scss @@ -184,11 +184,12 @@ min-height: rem-calc(353); } - .label { + .label-debate { background: none; clear: both; color: $debates; display: block; + font-size: rem-calc(12); font-weight: bold; text-transform: uppercase; padding-left: 0; @@ -314,7 +315,7 @@ padding-bottom: rem-calc(12); } - .label { + .label-debate { line-height: $line-height; padding-bottom: 0; } diff --git a/app/assets/stylesheets/proposals.scss b/app/assets/stylesheets/proposals.scss index 81eafc78e..d82d57013 100644 --- a/app/assets/stylesheets/proposals.scss +++ b/app/assets/stylesheets/proposals.scss @@ -160,11 +160,12 @@ min-height: rem-calc(353); } - .label { + .label-proposal { background: none; clear: both; color: $proposals; display: block; + font-size: rem-calc(12); font-weight: bold; text-transform: uppercase; padding-left: 0; @@ -290,7 +291,7 @@ padding-bottom: rem-calc(12); } - .label { + .label-proposal { line-height: $line-height; padding-bottom: 0; } diff --git a/app/views/debates/_debate.html.erb b/app/views/debates/_debate.html.erb index e766f5c34..936de966e 100644 --- a/app/views/debates/_debate.html.erb +++ b/app/views/debates/_debate.html.erb @@ -5,7 +5,7 @@
@@ -13,6 +13,30 @@ <%= link_to t("debates.debate.comments", count: debate.comments_count), debate_path(debate, anchor: "comments") %> • <%= l debate.created_at.to_date %> + <% if debate.author.hidden? %> + • + + <% else %> + • + + <% if debate.author.official? %> + • + + <% end %> + <% end %> + + <% if debate.author.verified_organization? %> + • + + <%= t("shared.collective") %> + + <% end %>
@@ -12,6 +12,31 @@ <%= link_to t("proposals.proposal.comments", count: proposal.comments_count), proposal_path(proposal, anchor: "comments") %> • <%= l proposal.created_at.to_date %> + + <% if proposal.author.hidden? %> + • + + <% else %> + • + + <% if proposal.author.official? %> + • + + <% end %> + <% end %> + + <% if proposal.author.verified_organization? %> + • + + <%= t("shared.collective") %> + + <% end %>
<%= @proposal.summary %>