Sha256: 92612e23bd9dc55a731f30c9b676a3f502b3d1bb1d7130faecb1b0bc012d80b8

Contents?: true

Size: 810 Bytes

Versions: 2

Compression:

Stored size: 810 Bytes

Contents

<div id="listing">
  <table class="table table-striped table-hover">
    <thead>
      <tr>
        <th>Description</th>
        <th>Due</th>
        <th>Tags</th>
        <th>Priority</th>
        <% if @can_edit %><th></th><% end %>
      </tr>
    </thead>
    <tbody>
      <% @tasks.each do |task| %>
        <% if task.status == 'pending' %>
          <tr class="<%= colorize_date(task.due) %>">
            <td><%= task.description %></td>
            <td><%= format_date(task.due) unless task.due.nil? %></td>
            <td><%= task.tags.join(', ') unless task.tags.nil? %></td>
            <td><%= task.priority unless task.priority.nil? %></td>
            <% if @can_edit %><td><%= crud_links(task) %></td><% end %>
          </tr>
        <% end %>
      <% end %>
    </tbody>
  </table>
</div>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
taskwarrior-web-1.1.1 lib/taskwarrior-web/views/project.erb
taskwarrior-web-1.1.0 lib/taskwarrior-web/views/project.erb