Sha256: 4c4d61b328a93952afbf49d424430d0ca2b01e2144712bf3ed5e2f45e5a12cba

Contents?: true

Size: 628 Bytes

Versions: 3

Compression:

Stored size: 628 Bytes

Contents

.goal-context: .context
  = context_icon :tasks
  = context_title goal.title
  = 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

3 entries across 3 versions & 1 rubygems

Version Path
flyboy-1.0.7 app/views/flyboy/goals/_context.html.slim
flyboy-1.0.6 app/views/flyboy/goals/_context.html.slim
flyboy-1.0.5 app/views/flyboy/goals/_context.html.slim