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 @@
- <%= t("debates.debate.debate") %> + <%= t("debates.debate.debate") %>

<%= link_to debate.title, debate %>

@@ -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? %> +  •  + + <%= t("debates.show.author_deleted") %> + + <% else %> +  •  + + <%= debate.author.name %> + + <% if debate.author.official? %> +  •  + + <%= debate.author.official_position %> + + <% end %> + <% end %> + + <% if debate.author.verified_organization? %> +  •  + + <%= t("shared.collective") %> + + <% end %>

<%= link_to debate.description, debate %> diff --git a/app/views/proposals/_proposal.html.erb b/app/views/proposals/_proposal.html.erb index 21cb53f5b..865365493 100644 --- a/app/views/proposals/_proposal.html.erb +++ b/app/views/proposals/_proposal.html.erb @@ -4,7 +4,7 @@
- <%= t("proposals.proposal.proposal") %> + <%= t("proposals.proposal.proposal") %>

<%= link_to proposal.title, proposal %>

@@ -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? %> +  •  + + <%= t("proposals.show.author_deleted") %> + + <% else %> +  •  + + <%= proposal.author.name %> + + <% if proposal.author.official? %> +  •  + + <%= proposal.author.official_position %> + + <% end %> + <% end %> + + <% if proposal.author.verified_organization? %> +  •  + + <%= t("shared.collective") %> + + <% end %>

<%= link_to proposal.summary, proposal %> diff --git a/app/views/proposals/show.html.erb b/app/views/proposals/show.html.erb index 6b4fa0bda..963256032 100644 --- a/app/views/proposals/show.html.erb +++ b/app/views/proposals/show.html.erb @@ -52,12 +52,12 @@   <%= link_to t("proposals.show.comments", count: @proposal.comments_count), "#comments" %>  •  - <%= link_to t("proposals.show.code") %> - <%= @proposal.code %> -  •  <%= render 'proposals/flag_actions', proposal: @proposal %> +
+ <%= t("proposals.show.code") %> + <%= @proposal.code %>
<%= @proposal.summary %>