Sha256: a90f173129dcba0a487c16d94c0d6c6b30c5dd91378d9c8aefbdd31877397cdf
Contents?: true
Size: 1.63 KB
Versions: 10
Compression:
Stored size: 1.63 KB
Contents
<%- read_only ||= false -%> <li class="task deploy" id="task-<%= deploy.id %>" data-status="<%= deploy.status %>"> <%= render 'shipit/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.active_task? %> <%= 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 %> <% elsif deploy.currently_deployed? && !deploy.stack.active_task? %> <%= redeploy_button(deploy.until_commit) %> <% end %> </div> <% end %> </li>
Version data entries
10 entries across 10 versions & 1 rubygems