>
<%= check_box_tag "proposal_ids_s[]", proposal.id, false, class: "js-check-all-proposal js-proposal-list-check js-proposal-id-#{proposal.id}" %>
|
<%= proposal.id %>
|
<%= link_to(
decidim_html_escape(present(proposal).title).html_safe,
proposal_path(proposal)
) %>
|
<% if proposal.category %>
<%= translated_attribute proposal.category.name %>
<% end %>
|
<%= td_resource_scope_for(proposal.scope) %>
<%= t("decidim/amendment", scope: "activerecord.models", count: 1) if proposal.emendation? %>
<%= proposal_complete_state proposal %>
|
<% unless current_settings.publish_answers_immediately? %>
<% if proposal.answered? && !proposal.emendation? %>
<%= humanize_boolean proposal.published_state? %>
<% else %>
-
<% end %>
|
<% end %>
<% if current_settings.votes_enabled? %>
<%= proposal.proposal_votes_count %>
|
<% end %>
<% if current_component.settings.comments_enabled? and !current_settings.comments_blocked? %>
<%= proposal.comments_count %>
|
<% end %>
<%= proposal.proposal_notes_count %>
|
<%= proposal.valuation_assignments.count %>
|
<%= l proposal.created_at, format: :decidim_short %>
|
<% if allowed_to? :edit, :proposal, proposal: proposal %>
<%= icon_link_to "pencil", edit_proposal_path(proposal), t("actions.edit_proposal", scope: "decidim.proposals"), class: "action-icon--edit-proposal" %>
<% end %>
<%= icon_with_link_to_proposal(proposal) %>
<%= resource_permissions_link(proposal) %>
<%= icon_link_to "eye", resource_locator(proposal).path, t("actions.preview", scope: "decidim.proposals.admin"), class: "action-icon--preview", target: :blank %>
|