Sha256: abd9a7e9a40ca940f3999abada02caf4d07b005a522ee9dd6438125e466505d9

Contents?: true

Size: 839 Bytes

Versions: 4

Compression:

Stored size: 839 Bytes

Contents

<%= progress_bar(@tasks) %>

<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

4 entries across 4 versions & 1 rubygems

Version Path
taskwarrior-web-1.1.5 lib/taskwarrior-web/views/project.erb
taskwarrior-web-1.1.4 lib/taskwarrior-web/views/project.erb
taskwarrior-web-1.1.3 lib/taskwarrior-web/views/project.erb
taskwarrior-web-1.1.2 lib/taskwarrior-web/views/project.erb