diff --git a/app/views/legislation/proposals/_proposal.html.erb b/app/views/legislation/proposals/_proposal.html.erb index a2a985f44..ece4edb35 100644 --- a/app/views/legislation/proposals/_proposal.html.erb +++ b/app/views/legislation/proposals/_proposal.html.erb @@ -2,7 +2,9 @@ class="proposal clear <%= ("successful" if proposal.total_votes > Proposal.votes_needed_for_success) %>" data-type="proposal">
"> -
+ <% if proposal.total_votes > Proposal.votes_needed_for_success %> +
+ <% end %> <% if proposal.image.present? %>
diff --git a/app/views/proposals/_proposal.html.erb b/app/views/proposals/_proposal.html.erb index 425d75537..e4f89698a 100644 --- a/app/views/proposals/_proposal.html.erb +++ b/app/views/proposals/_proposal.html.erb @@ -1,9 +1,10 @@
Proposal.votes_needed_for_success) %>" + class="proposal clear <%= ("successful" if proposal.successful?) %>" data-type="proposal">
"> -
+ <% if proposal.successful? %> +
+ <% end %> <% if proposal.image.present? %>