Sha256: 703e1a711f01c443d986326f49ef53c47c7cd17fc1f87bbfb3cc8eee6708a1d5
Contents?: true
Size: 1.29 KB
Versions: 1
Compression:
Stored size: 1.29 KB
Contents
table thead tr - unless nested th.hidden-xs = sortable_column Flyboy::Task.human_attribute_name(:taskable), column: "taskable" th = sortable_column Flyboy::Task.model_name.human, column: "name" th.hidden-xs = sortable_column Flyboy::Task.human_attribute_name(:progress), column: "progress" th.hidden-xs = sortable_column Flyboy::Task.human_attribute_name(:term), column: "term" th = t("actions.label") tbody - tasks.each do |task| tr.task id="task_#{task.id}" class=task_color(task) - unless nested td.taskable.hidden-xs - if can?(:read, task.taskable) = link_to task.taskable.name, engine_polymorphic_path(task.taskable) - else = task.taskable.name td.name - if can?(:read, task) = link_to task.name, flyboy.task_path(task) - else = task.name td.task_progress.hidden-xs = progress_bar percentage: task.progress, label: true td.term.hidden-xs = l(task.term) td.actions - if can?(:snooze, task) = snooze_button flyboy.snooze_task_path(task) - if can?(:complete, task) = complete_button flyboy.complete_task_path(task)
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
flyboy-1.1.0 | app/views/flyboy/tasks/_list.html.slim |