Sha256: cb0c141119f93e330fedb34d6ef484b616866419f104dad88f057cec0a0e6ae7

Contents?: true

Size: 1.32 KB

Versions: 10

Compression:

Stored size: 1.32 KB

Contents

<li class="commit <%= 'locked' if commit.locked? %>" id="commit-<%= commit.id %>">
  <% cache commit 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? && commit.deletions? %>
          <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>
    </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: t('commit.unlock'), 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

10 entries across 10 versions & 1 rubygems

Version Path
shipit-engine-0.25.1 app/views/shipit/commits/_commit.html.erb
shipit-engine-0.25.0 app/views/shipit/commits/_commit.html.erb
shipit-engine-0.24.0 app/views/shipit/commits/_commit.html.erb
shipit-engine-0.23.1 app/views/shipit/commits/_commit.html.erb
shipit-engine-0.23.0 app/views/shipit/commits/_commit.html.erb
shipit-engine-0.22.0 app/views/shipit/commits/_commit.html.erb
shipit-engine-0.21.0 app/views/shipit/commits/_commit.html.erb
shipit-engine-0.20.1 app/views/shipit/commits/_commit.html.erb
shipit-engine-0.20.0 app/views/shipit/commits/_commit.html.erb
shipit-engine-0.19.0 app/views/shipit/commits/_commit.html.erb