Sha256: 1a8ce711b55163524ee34fef82eb3a2679d415f3d6ec5f8278f908787404ae89
Contents?: true
Size: 1.97 KB
Versions: 2
Compression:
Stored size: 1.97 KB
Contents
<tr data-id="<%= proposal.id %>"> <td> <%= check_box_tag "proposal_ids_s[]", proposal.id, false, class: "js-check-all-proposal js-proposal-list-check js-proposal-id-#{proposal.id}" %><br /> </td> <td> <%= proposal.id %><br /> </td> <td> <%= proposal.title %><br /> </td> <td> <% if proposal.category %> <%= translated_attribute proposal.category.name %> <% end %> </td> <% if current_participatory_space.scopes_enabled? %> <td> <% if proposal.scope %> <%= translated_attribute proposal.scope.name %> <% else %> <%= t("decidim.scopes.global") %> <% end %> </td> <% end %> <td> <strong class="<%= proposal_state_css_class proposal.state %>"> <%= humanize_proposal_state proposal.state %> </strong> </td> <% if current_settings.votes_enabled? %> <td> <%= proposal.proposal_votes_count %> </td> <% end %> <% if current_feature.settings.comments_enabled? and !current_settings.comments_blocked? %> <td> <%= proposal.comments.count %> </td> <% end %> <% if can? :create, Decidim::Proposals::ProposalNote %> <td> <%= proposal.proposal_notes_count %> </td> <% end %> <td> <%= l proposal.created_at, format: :decidim_short %> </td> <td class="table-list__actions"> <% if can? :create, Decidim::Proposals::ProposalNote %> <%= icon_link_to "chat", proposal_proposal_notes_path(proposal_id: proposal.id), t("actions.private_notes", scope: "decidim.proposals"), class: "action-icon--index-notes" %> <% end %> <% if can? :update, proposal %> <%= icon_link_to "comment-square", edit_proposal_proposal_answer_path(proposal_id: proposal.id, id: proposal.id), t("actions.answer", scope: "decidim.proposals"), class: "action-icon--edit-answer" %> <% end %> <%= icon_link_to "eye", resource_locator(proposal).path, t("actions.preview", scope: "decidim.proposals.admin"), class: "action-icon--preview", target: :blank %> </td> </tr>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
decidim-proposals-0.10.1 | app/views/decidim/proposals/admin/proposals/_proposal-tr.html.erb |
decidim-proposals-0.10.0 | app/views/decidim/proposals/admin/proposals/_proposal-tr.html.erb |