Sha256: cf3b0232dcb7fe9d5ffa0e684f7b17417f8f4c8eea81f1e20b9044412c83f6fa

Contents?: true

Size: 1.49 KB

Versions: 8

Compression:

Stored size: 1.49 KB

Contents

<%- read_only ||= false -%>

<li class="task deploy" id="task-<%= deploy.id %>" data-status="<%= deploy.status %>">
  <%= render 'commits/commit_author', commit: deploy %>
  <a href="<%= stack_deploy_path(@stack, deploy) %>" class="status status--<%= deploy.status %>" data-tooltip="<%= deploy.status.capitalize %>">
    <i class="status__icon"></i>
    <span class="visually-hidden"><%= deploy.status %></span>
  </a>
  <div class="commit-details">
    <span class="commit-title">
      <a href="<%= stack_deploy_path(@stack, deploy) %>">
        <%= render_commit_message deploy.until_commit %>
      </a>
    </span>
    <p class="commit-meta">
      <span class="sha"><%= link_to_github_deploy(deploy) %></span>
      <%= deploy.rollback? ? 'rolled back' : 'deployed' %> <%= timeago_tag(deploy.created_at, force: true) %>
      <span class="utc-timecode">at <%= deploy.created_at.strftime('%H:%M:%S') %> UTC</span>
      <span class="code-additions">+<%= deploy.additions %></span>
      <span class="code-deletions">-<%= deploy.deletions %></span>
    </p>
  </div>
  <% unless read_only %>
    <div class="commit-actions">
      <% 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 btn--delete deploy-action rollback-action' %>
        <% end %>
      <% end %>
    </div>
  <% end %>
</li>

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
shipit-engine-0.4.1 app/views/deploys/_deploy.html.erb
shipit-engine-0.4.0 app/views/deploys/_deploy.html.erb
shipit-engine-0.3.1 app/views/deploys/_deploy.html.erb
shipit-engine-0.3.0 app/views/deploys/_deploy.html.erb
shipit-engine-0.2.3 app/views/deploys/_deploy.html.erb
shipit-engine-0.2.2 app/views/deploys/_deploy.html.erb
shipit-engine-0.2.1 app/views/deploys/_deploy.html.erb
shipit-engine-0.2.0 app/views/deploys/_deploy.html.erb