Sha256: 47408adf75ae7fe32a0b93d97abad9f3fda32e0c51bed16af2d71bc0f619bc87

Contents?: true

Size: 1.08 KB

Versions: 1

Compression:

Stored size: 1.08 KB

Contents

<%= render partial: "stacks/header", locals: { stack: @stack } %>

<div class="wrapper">
  <section class="warning">
    <h2>Are you sure it's safe to rollback?</h2>
    <ul>
      <li>Does the code you want to rollback contain migrations?</li>
      <li>If so, is the old code compatible with the new schema?</li>
    </ul>
  </section>

  <%= render 'concurrent_deploy_warning' if @stack.deploying? %>

  <section>
    <header class="section-header">
      <h2>Commits included in this rollback</h2>
    </header>

    <p><%= link_to_github_deploy(@rollback) %></p>

    <%= render 'deploys/summary', commits: @rollback.commits %>
  </section>

  <%= render_monitoring @stack %>

  <%= render_checklist @stack %>

  <section class="submit-section">
    <%= form_for [@stack, @rollback] do |f| %>
      <% if @stack.deploying? %>
        <%= hidden_field_tag :force, value: true %>
      <% end %>
      <%= f.hidden_field :parent_id %>
      <%= f.submit 'Rollback', :class => ['btn', 'rollback', 'trigger-rollback'], data: {confirm: "Are you really sure it's safe?"} %>
    <% end %>
  </section>
</div>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
shipit-engine-0.0.1.pre app/views/deploys/rollback.html.erb