Sha256: 2c754c97c21fb25fc2809bf52e2ade7cc25dde4a5f6fd316a5883283fca4ce40

Contents?: true

Size: 825 Bytes

Versions: 14

Compression:

Stored size: 825 Bytes

Contents

<% classes = 'branch-action-btn float-right js-immediate-updates js-handle-pull-merging-errors' %>
<% if pull_request.try!(&:waiting?) %>
  <%= form_tag dequeue_pull_request_path(stack, pull_request_number), method: 'delete', class: classes, data: {remote: true} do %>
    <%= hidden_field_tag 'referrer', params[:referrer] %>
    <button type="submit" data-disable-with="Removing from merge queue…" class="btn">
      Remove from merge queue
    </button>
  <% end %>
<% else %>
  <%= form_tag enqueue_pull_request_path(stack, pull_request_number), method: 'put', class: classes, data: {remote: true} do %>
    <%= hidden_field_tag 'referrer', params[:referrer] %>
    <button type="submit" data-disable-with="Adding to merge queue…" class="btn btn-primary">
      Add to merge queue
    </button>
  <% end %>
<% end %>

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
shipit-engine-0.32.0 app/views/shipit/merge_status/_merge_queue_button.html.erb
shipit-engine-0.31.0 app/views/shipit/merge_status/_merge_queue_button.html.erb
shipit-engine-0.30.0 app/views/shipit/merge_status/_merge_queue_button.html.erb
shipit-engine-0.29.0 app/views/shipit/merge_status/_merge_queue_button.html.erb
shipit-engine-0.28.1 app/views/shipit/merge_status/_merge_queue_button.html.erb
shipit-engine-0.28.0 app/views/shipit/merge_status/_merge_queue_button.html.erb
shipit-engine-0.27.1 app/views/shipit/merge_status/_merge_queue_button.html.erb
shipit-engine-0.27.0 app/views/shipit/merge_status/_merge_queue_button.html.erb
shipit-engine-0.26.0 app/views/shipit/merge_status/_merge_queue_button.html.erb
shipit-engine-0.25.1 app/views/shipit/merge_status/_merge_queue_button.html.erb
shipit-engine-0.25.0 app/views/shipit/merge_status/_merge_queue_button.html.erb
shipit-engine-0.24.0 app/views/shipit/merge_status/_merge_queue_button.html.erb
shipit-engine-0.23.1 app/views/shipit/merge_status/_merge_queue_button.html.erb
shipit-engine-0.23.0 app/views/shipit/merge_status/_merge_queue_button.html.erb