Sha256: bdd275c7829db9562e10e3b7ac7821a9730edcb9cc9b7a6e7c0cb1ce884ef9a3

Contents?: true

Size: 1.55 KB

Versions: 15

Compression:

Stored size: 1.55 KB

Contents

<li class="commit <%= 'locked' if commit.locked? %>" id="commit-<%= commit.id %>">
  <% cache [commit, commit.expected_to_be_deployed?] do %>
    <% cache commit.author do %>
      <%= render 'shipit/shared/author', author: commit.author %>
    <% end %>

    <%= render commit.status %>
    <div class="commit-details">
      <span class="commit-title"><%= render_commit_message_with_link commit %></span>
      <p class="commit-meta">
        <span class="sha"><%= render_commit_id_link(commit) %></span>
        <% if commit.additions.present? && commit.deletions.present? %>
          <span class="code-additions">+<%= commit.additions %></span>
          <span class="code-deletions">-<%= commit.deletions %></span>
        <% end %>
      </p>
      <p class="commit-meta">
        <%= timeago_tag(commit.committed_at, force: true) %>
      </p>
      <% if commit.expected_to_be_deployed? %>
        <p class="commit-meta">
	  <span class="scheduled">expected to be deployed next</span>
        </p>
      <% end %>
    </div>
    <div class="commit-lock" >
      <%= link_to stack_commit_path(commit.stack, commit), class: 'action-lock-commit', data: {tooltip: t('commit.lock')} do %>
        <i class="icon icon--lock"></i>
      <% end %>
      <%= link_to stack_commit_path(commit.stack, commit), class: 'action-unlock-commit', data: {tooltip: unlock_commit_tooltip(commit), confirm: t('commit.confirm_unlock')} do %>
        <i class="icon icon--lock"></i>
      <% end %>
    </div>
  <% end %>
  <div class="commit-actions">
    <%= deploy_button(commit) %>
  </div>
</li>

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
shipit-engine-0.39.0 app/views/shipit/commits/_commit.html.erb
shipit-engine-0.38.0 app/views/shipit/commits/_commit.html.erb
shipit-engine-0.37.0 app/views/shipit/commits/_commit.html.erb
shipit-engine-0.36.1 app/views/shipit/commits/_commit.html.erb
shipit-engine-0.36.0 app/views/shipit/commits/_commit.html.erb
shipit-engine-0.35.1 app/views/shipit/commits/_commit.html.erb
shipit-engine-0.35.0 app/views/shipit/commits/_commit.html.erb
shipit-engine-0.34.0 app/views/shipit/commits/_commit.html.erb
shipit-engine-0.33.0 app/views/shipit/commits/_commit.html.erb
shipit-engine-0.32.0 app/views/shipit/commits/_commit.html.erb
shipit-engine-0.31.0 app/views/shipit/commits/_commit.html.erb
shipit-engine-0.30.0 app/views/shipit/commits/_commit.html.erb
shipit-engine-0.29.0 app/views/shipit/commits/_commit.html.erb
shipit-engine-0.28.1 app/views/shipit/commits/_commit.html.erb
shipit-engine-0.28.0 app/views/shipit/commits/_commit.html.erb