Sha256: e3a6b299d33d9e4174c16b32eda705073219aa777ce9859aad5fbf1177ad6f35

Contents?: true

Size: 1.93 KB

Versions: 24

Compression:

Stored size: 1.93 KB

Contents

<div class="flex--cc flex-gap--1">
  <%= 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 %>

    <% if allowed_to? :export, :proposals %>
      <%= export_dropdown %>
    <% end %>

    <% if allowed_to? :import, :proposals %>
      <%= import_dropdown do %>
        <li class="imports--component imports--proposals">
          <%= link_to t("actions.import", scope: "decidim.proposals", name: t("models.proposal.name", scope: "decidim.proposals.admin")), new_proposals_import_path %>
        </li>
        <% current_component.manifest.import_manifests.each do |import_manifest| %>
          <li class="imports--file imports--<%= import_manifest.name %>">
            <%= link_to import_manifest.message(:label, self), admin_imports_path(current_component, name: import_manifest.name) %>
          </li>
        <% end %>
      <% end %>
    <% end %>

    <% if allowed_to? :create, :proposal %>
      <%= link_to t("actions.new", scope: "decidim.proposals"), new_proposal_path, class: "button tiny button--simple" %>
    <% end %>
  </div>

  <%= render partial: "decidim/proposals/admin/proposals/bulk_actions/recategorize" %>
  <%= render partial: "decidim/proposals/admin/proposals/bulk_actions/scope-change" %>
  <%= render partial: "decidim/proposals/admin/proposals/bulk_actions/merge" %>
  <%= render partial: "decidim/proposals/admin/proposals/bulk_actions/split" %>
  <%= render partial: "decidim/proposals/admin/proposals/bulk_actions/assign_to_valuator" %>
  <%= render partial: "decidim/proposals/admin/proposals/bulk_actions/unassign_from_valuator" %>
  <%= render partial: "decidim/proposals/admin/proposals/bulk_actions/publish_answers" %>
</div>

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
decidim-proposals-0.27.9 app/views/decidim/proposals/admin/proposals/_bulk-actions.html.erb
decidim-proposals-0.27.8 app/views/decidim/proposals/admin/proposals/_bulk-actions.html.erb
decidim-proposals-0.27.7 app/views/decidim/proposals/admin/proposals/_bulk-actions.html.erb
decidim-proposals-0.27.6 app/views/decidim/proposals/admin/proposals/_bulk-actions.html.erb
decidim-proposals-0.26.10 app/views/decidim/proposals/admin/proposals/_bulk-actions.html.erb
decidim-proposals-0.26.9 app/views/decidim/proposals/admin/proposals/_bulk-actions.html.erb
decidim-proposals-0.27.5 app/views/decidim/proposals/admin/proposals/_bulk-actions.html.erb
decidim-proposals-0.26.8 app/views/decidim/proposals/admin/proposals/_bulk-actions.html.erb
decidim-proposals-0.27.4 app/views/decidim/proposals/admin/proposals/_bulk-actions.html.erb
decidim-proposals-0.27.3 app/views/decidim/proposals/admin/proposals/_bulk-actions.html.erb
decidim-proposals-0.26.7 app/views/decidim/proposals/admin/proposals/_bulk-actions.html.erb
decidim-proposals-0.26.5 app/views/decidim/proposals/admin/proposals/_bulk-actions.html.erb
decidim-proposals-0.27.2 app/views/decidim/proposals/admin/proposals/_bulk-actions.html.erb
decidim-proposals-0.27.1 app/views/decidim/proposals/admin/proposals/_bulk-actions.html.erb
decidim-proposals-0.26.4 app/views/decidim/proposals/admin/proposals/_bulk-actions.html.erb
decidim-proposals-0.27.0 app/views/decidim/proposals/admin/proposals/_bulk-actions.html.erb
decidim-proposals-0.26.3 app/views/decidim/proposals/admin/proposals/_bulk-actions.html.erb
decidim-proposals-0.27.0.rc2 app/views/decidim/proposals/admin/proposals/_bulk-actions.html.erb
decidim-proposals-0.27.0.rc1 app/views/decidim/proposals/admin/proposals/_bulk-actions.html.erb
decidim-proposals-0.26.2 app/views/decidim/proposals/admin/proposals/_bulk-actions.html.erb