Sha256: 7c173c8959f6a1053324aaa3d87c6b65ae95fccf73179a4cf32a61f20090d55d
Contents?: true
Size: 1.16 KB
Versions: 2
Compression:
Stored size: 1.16 KB
Contents
<div id="listing"> <table> <thead> <tr> <th>Description</th> <th>Project</th> <th>Due</th> <th>Tags</th> <th>Priority</th> </tr> </thead> <tbody> <% @tasks.each do |task| %> <% if task.status == 'pending' %> <tr class="<%= colorize_date(task.due) %>"> <% else %> <tr class="<%= task.status %>"> <% end %> <td> <%= task.description %> <% unless task.annotations.nil? || task.annotations.empty? %> <ul> <% task.annotations.each do |annotation| %> <li><%= format_date(annotation['entry']) %>: <%= auto_link(annotation['description']) %></li> <% end %> </ul> <% end %> </td> <td><a href="/projects/<%= linkify(task.project, :project) %>"><%= task.project %></a></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> </tr> <% end %> </tbody> </table> </div>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
taskwarrior-web-0.0.15 | lib/taskwarrior-web/views/listing.erb |
taskwarrior-web-0.0.14 | views/listing.erb |