Sha256: 9f307f8160f33187abdcc8110038611735ec2ef0ca45b286518223bcf097a94a

Contents?: true

Size: 1.25 KB

Versions: 6

Compression:

Stored size: 1.25 KB

Contents

<% subscribe events_path(channels: ["stack.#{@stack.id}"]), '#layout-content' %>

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

<div class="wrapper">
  <section>
    <header class="section-header">
      <h2>Undeployed Commits</h2>

      <div class="commit-list-actions">
        <% if params[:force] %>
          <%= link_to t('emergency_mode.disable'), stack_path(@stack) %>
        <% else %>
          <%= link_to t('emergency_mode.enable'), stack_path(@stack, force: 1), title: t('emergency_mode.enable_description') %>
        <% end %>
      </div>
    </header>
    <ul class="commit-list">
      <%= render partial: 'shipit/commits/commit', collection: @undeployed_commits %>
    </ul>
  </section>

  <section>
    <header class="section-header">
      <h2>Currently Deploying Commits</h2>
    </header>
    <ul class="commit-list">
      <%= render partial: 'shipit/commits/commit', collection: @active_commits %>
    </ul>
  </section>

  <% cache @stack do %>
    <section>
      <header class="section-header">
        <h2>Previous Deploys</h2>
      </header>
      <ul class="commit-list">
        <%= render @tasks %>
      </ul>
    </section>
  <% end %>
</div>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
shipit-engine-0.32.0 app/views/shipit/stacks/show.html.erb
shipit-engine-0.31.0 app/views/shipit/stacks/show.html.erb
shipit-engine-0.30.0 app/views/shipit/stacks/show.html.erb
shipit-engine-0.29.0 app/views/shipit/stacks/show.html.erb
shipit-engine-0.28.1 app/views/shipit/stacks/show.html.erb
shipit-engine-0.28.0 app/views/shipit/stacks/show.html.erb