Sha256: 3e28552b8350740da6872fd0bdd424fbb2c8514558c19dbbf146efdebf92c9c3

Contents?: true

Size: 907 Bytes

Versions: 4

Compression:

Stored size: 907 Bytes

Contents

<%- read_only ||= false -%>

<li class="task" id="task-<%= task.id %>" data-status="<%= task.status %>">
  <%= render 'shipit/shared/author', author: task.author %>
  <a href="<%= stack_task_path(@stack, task) %>" class="status status--<%= task.status %>" data-tooltip="<%= task.status.capitalize %>">
    <i class="status__icon"></i>
    <span class="visually-hidden"><%= task.status %></span>
  </a>

  <div class="commit-details">
    <span class="commit-title">
      <a href="<%= stack_task_path(@stack, task) %>">
        <%= task.definition.action %>
      </a>
    </span>
    <p class="commit-meta">
      ran a command
    </p>
    <p class="commit-meta">
      <% if read_only %>
        <span class="utc-timecode">on <%= task.created_at.strftime('%Y-%m-%d %H:%M:%S') %> UTC</span>
      <% else %>
        <%= timeago_tag(task.created_at, force: true) %>
      <% end %>
    </p>
  </div>
</li>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
shipit-engine-0.18.1 app/views/shipit/tasks/_task.html.erb
shipit-engine-0.18.0 app/views/shipit/tasks/_task.html.erb
shipit-engine-0.17.0 app/views/shipit/tasks/_task.html.erb
shipit-engine-0.16.0 app/views/shipit/tasks/_task.html.erb