Sha256: cc72fd5bbc866bc19b4c2df94779b4a25c83575e11d8e1991076215af1006628

Contents?: true

Size: 1.93 KB

Versions: 6

Compression:

Stored size: 1.93 KB

Contents

<div id="js-bulk-actions-wrapper">
  <button
    id="js-bulk-actions-button"
    class="button button__sm button__secondary"
    type="button"
    data-toggle="js-bulk-actions-dropdown">
    <%= t("decidim.proposals.admin.proposals.index.actions") %>
    <%= icon "arrow-down-s-line", class: "dropdown-filter-icon" %>
  </button>

  <div
    id="js-bulk-actions-dropdown"
    class="dropdown-pane"
    data-position="bottom"
    data-alignment="right"
    data-dropdown="dropdown"
    data-auto-focus="false"
    data-events="resize">
    <ul>
      <li>
        <button type="button" data-action="recategorize-proposals">
          <%= t("decidim.proposals.admin.proposals.index.change_category") %>
        </button>
      </li>
      <li>
        <button type="button" data-action="scope-change-proposals">
          <%= t("decidim.proposals.admin.proposals.index.change_scope") %>
        </button>
      </li>
      <li>
        <button type="button" data-action="merge-proposals">
          <%= t("decidim.proposals.admin.proposals.index.merge") %>
        </button>
      </li>
      <li>
        <button type="button" data-action="split-proposals">
          <%= t("decidim.proposals.admin.proposals.index.split") %>
        </button>
      </li>
      <li>
        <button type="button" data-action="assign-proposals-to-valuator">
          <%= t("decidim.proposals.admin.proposals.index.assign_to_valuator") %>
        </button>
      </li>
      <% if allowed_to? :unassign_from_valuator, :proposals, valuator: current_user %>
        <li>
          <button type="button" data-action="unassign-proposals-from-valuator">
            <%= t("decidim.proposals.admin.proposals.index.unassign_from_valuator") %>
          </button>
        </li>
      <% end %>
      <li>
        <button type="button" data-action="publish-answers">
          <%= t("decidim.proposals.admin.proposals.index.publish_answers") %>
        </button>
      </li>
    </ul>
  </div>
</div>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
decidim-proposals-0.29.1 app/views/decidim/proposals/admin/proposals/bulk_actions/_dropdown.html.erb
decidim-proposals-0.29.0 app/views/decidim/proposals/admin/proposals/bulk_actions/_dropdown.html.erb
decidim-proposals-0.29.0.rc4 app/views/decidim/proposals/admin/proposals/bulk_actions/_dropdown.html.erb
decidim-proposals-0.29.0.rc3 app/views/decidim/proposals/admin/proposals/bulk_actions/_dropdown.html.erb
decidim-proposals-0.29.0.rc2 app/views/decidim/proposals/admin/proposals/bulk_actions/_dropdown.html.erb
decidim-proposals-0.29.0.rc1 app/views/decidim/proposals/admin/proposals/bulk_actions/_dropdown.html.erb