Sha256: b104af600d39921a59be4b1de8813966bb1b737a220b8dd05fd82c7b6954fd26

Contents?: true

Size: 1.19 KB

Versions: 3

Compression:

Stored size: 1.19 KB

Contents

<li class="commit <%= 'locked' if commit.locked? %>" id="commit-<%= commit.id %>">
  <%= render 'shipit/shared/author', author: commit.author %>
  <%= 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>
  <div class="commit-actions">
    <%= deploy_button(commit) %>
  </div>
</li>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
shipit-engine-0.18.1 app/views/shipit/commits/_commit.html.erb
shipit-engine-0.18.0 app/views/shipit/commits/_commit.html.erb
shipit-engine-0.17.0 app/views/shipit/commits/_commit.html.erb