Sha256: 9a2552cef99a953850002f8482e235456f9b7c800dfbd4f529922937d178df87

Contents?: true

Size: 654 Bytes

Versions: 1

Compression:

Stored size: 654 Bytes

Contents

- goal = goal || taskable

.goal-context: .context
  = context_icon :tasks
  = context_title goal.name
  = render "flyboy/goals/actions", goal: goal

  .infos
    strong
      = Flyboy::Task.human_attribute_name(:progress)
      = " : "
    = progress_bar(percentage: goal.progress, label: true)

  = context_info Flyboy::Goal.human_attribute_name(:revision), goal.revision
  = context_info Flyboy::Goal.human_attribute_name(:status), t("messages.goals.status.#{goal.status}")

  - if params[:controller] == "flyboy/goals" && params[:action] == "show"
    = context_info Flyboy::Goal.human_attribute_name(:description), text2html("\n" +goal.description)

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
flyboy-1.1.0 app/views/flyboy/goals/_context.html.slim