app/views/decidim/proposals/admin/proposals/_bulk-actions.html.erb in decidim-proposals-0.14.4 vs app/views/decidim/proposals/admin/proposals/_bulk-actions.html.erb in decidim-proposals-0.15.0
- old
+ new
@@ -1,15 +1,20 @@
<div class="flex--cc flex-gap--1">
- <%= bulk_actions_dropdown %>
+ <%= render partial: "decidim/proposals/admin/proposals/bulk_actions/dropdown" %>
<div id="js-other-actions-wrapper">
+ <% if component_settings.participatory_texts_enabled? %>
+ <%= link_to t("actions.participatory_texts", scope: "decidim.proposals"), participatory_texts_path, id: "participatory_texts", class: "button tiny button--simple" %>
+ <% end %>
<%= link_to t("actions.import", scope: "decidim.proposals", name: t("models.proposal.name", scope: "decidim.proposals.admin")), new_proposals_import_path, class: "button tiny button--simple" if allowed_to? :import, :proposals %>
<% if allowed_to? :create, :proposal %>
<%= link_to t("actions.new", scope: "decidim.proposals"), new_proposal_path, class: "button tiny button--simple" %>
<% end %>
<%= export_dropdown %>
</div>
- <%= bulk_action_recategorize %>
+ <%= render partial: "decidim/proposals/admin/proposals/bulk_actions/recategorize" %>
+ <%= render partial: "decidim/proposals/admin/proposals/bulk_actions/merge" %>
+ <%= render partial: "decidim/proposals/admin/proposals/bulk_actions/split" %>
</div>