Sha256: 4410ddf337162e81c26720d657ae13aed453df1765a77455eaf206e6c018e1b2

Contents?: true

Size: 1.39 KB

Versions: 1

Compression:

Stored size: 1.39 KB

Contents

<li class="deploy" id="deploy-<%= deploy.id %>" data-deploy-status="<%= deploy.status %>">
  <div class="status <%= deploy.status %>" data-tooltip="<%= deploy.status.capitalize %>">
    <%= link_to stack_deploy_path(@stack, deploy) do %>
      <i><%= deploy.status %></i>
    <% end %>
  </div>
  <div class="event">
    <span class="event-meta">
      <%= render_github_user(deploy.author) %>
      <% if deploy.rollback? %>
        rolled back
      <% else %>
        deployed
      <% end %>

      <%= link_to_github_deploy(deploy) %> <%= timeago_tag(deploy.created_at, force: true) %>
      <span class="event-time">at <%= deploy.created_at %></span>
      <span class="event-stats">
        <span class="event-additions">+<%= deploy.additions %></span>
        <span class="event-deletions">-<%= deploy.deletions %></span>
      </span>
    </span>
    <span class="event-title">
      <a href="<%= stack_deploy_path(@stack, deploy) %>">
        <%= render_commit_message deploy.until_commit %>
      </a>
      <span class="event-number"></span>
    </span>
  </div>

  <% if deploy.rollbackable? %>
    <% if deploy.stack.deploying? %>
      <%= link_to 'Deploy in progress...', '#', class: 'btn disabled deploy-action' %>
    <% else  %>
      <%= link_to "Rollback to this deploy", rollback_stack_deploy_path(@stack, deploy), class: 'btn delete deploy-action rollback-action' %>
    <% end %>
  <% end %>
</li>

Version data entries

1 entries across 1 versions & 1 rubygems

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