Proposal.votes_needed_for_success) %>" data-type="proposal">
<% cache [locale_and_user_status(proposal), 'index', proposal, proposal.author] do %>

<%= link_to proposal.title, namespaced_proposal_path(proposal) %>

  <%= link_to t("proposals.proposal.comments", count: proposal.comments_count), namespaced_proposal_path(proposal, anchor: "comments") %>  •  <%= l proposal.created_at.to_date %> <% if proposal.author.hidden? || proposal.author.erased? %>  •  <%= t("proposals.show.author_deleted") %> <% else %>  •  <%= proposal.author.name %> <% if proposal.author.display_official_position_badge? %>  •  <%= proposal.author.official_position %> <% end %> <% end %> <% if proposal.author.verified_organization? %>  •  <%= t("shared.collective") %> <% end %>

<%= proposal.summary %>

<%= render "shared/tags", taggable: proposal, limit: 5 %> <% end %>
<% if proposal.successful? %>

<%= t("proposals.proposal.successful", voting: link_to(t("proposals.proposal.voting"), polls_path)).html_safe %>

<% if can? :create, Poll::Question %>

<%= link_to t('poll_questions.create_question'), new_admin_question_path(proposal_id: proposal.id), class: "button hollow" %>

<% end %> <% elsif proposal.archived? %>
<%= t("proposals.proposal.supports", count: proposal.total_votes) %>

<%= t("proposals.proposal.archived") %>

<% else %> <%= render 'votes', { proposal: proposal, vote_url: vote_proposal_path(proposal, value: 'yes') } %> <% end %>