Sha256: 4e6c46cd0faf52153b5407e930d4f12c3d1c84b7ca3289a82f16f0ba6ff6edc0
Contents?: true
Size: 967 Bytes
Versions: 1
Compression:
Stored size: 967 Bytes
Contents
table thead tr th = sortable_column Flyboy::Goal.model_name.human, column: "name" th.hidden-xs = sortable_column Flyboy::Goal.human_attribute_name(:progress), column: "progress" th.hidden-xs = sortable_column Flyboy::Goal.human_attribute_name(:status), column: "status" th = t ".actions", default: t("helpers.actions") tbody - goals.each do |goal| tr.goal class=goal_color(goal) td.name - if can? :read, goal = link_to goal.name, goal_path(goal) - else = goal.name td.goal_progress.hidden-xs = progress_bar percentage: goal.progress, label: true td.status.hidden-xs = t("messages.goals.status.#{goal.status}") td.actions - if can? :create, Flyboy::Task.new(taskable: goal) = create_button flyboy.new_task_path(taskable_guid: goal.guid), text: t("actions.goals.new_task")
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
flyboy-1.1.0 | app/views/flyboy/goals/_list.html.slim |