Sha256: c93d798c292bc42348f02c807843283aa16fd18bd74ebbfe4872d2035e5639ff
Contents?: true
Size: 1.79 KB
Versions: 10
Compression:
Stored size: 1.79 KB
Contents
table#tasks-list thead tr th.task-status th.task-snooze th.task-progress.hidden-xs = sortable_column Dorsale::Flyboy::Task.t(:progress), :progress th.task-name = sortable_column Dorsale::Flyboy::Task.t, :name - unless nested th.taskable-name.hidden-xs = sortable_column Dorsale::Flyboy::Task.t(:taskable), :taskable th.task-term.hidden-xs = sortable_column Dorsale::Flyboy::Task.t(:term), :term tbody - tasks.each do |task| tr.task class=task_color(task) td.task-status - if task.done? span.title-tooltip title=task.t(:done) = icon(:check_square_o) - elsif policy(task).complete? a( href = dorsale.complete_flyboy_task_path(task) data-method = :patch data-confirm = t("actions.confirm") title = t("actions.complete") class = "title-tooltip" ) = icon(:square_o) - else span.title-tooltip title=task.t(:done) = icon(:square_o) td.task-snooze - if policy(task).snooze? a( href = dorsale.snooze_flyboy_task_path(task) data-method = :patch data-confirm = t("actions.confirm") title = t("actions.snooze") class = "title-tooltip" ) = icon(:clock_o) td.task-progress.hidden-xs = progress_bar percentage: task.progress, label: true td.task-name = link_to_object(task) - unless nested td.taskable-name.hidden-xs = link_to_object(task.taskable) td.task-term.hidden-xs = date(task.term)
Version data entries
10 entries across 10 versions & 1 rubygems