show.html.haml 1.12 KB
Newer Older
1 2 3
%ul.list-group
  %li.list-group-item
    Issue:
4 5 6 7
    - if issue = @cycle_analytics.issue
      = distance_of_time_in_words issue
    - else
      <Not enough data>
8 9 10

  %li.list-group-item
    Plan:
11 12 13 14 15 16 17 18 19 20 21
    - if plan = @cycle_analytics.plan
      = distance_of_time_in_words plan
    - else
      <Not enough data>

  %li.list-group-item
    Code:
    - if code = @cycle_analytics.code.presence
      = distance_of_time_in_words code
    - else
      = "<Not enough data>"
22

23 24 25 26 27 28 29
  %li.list-group-item
    Test:
    - if test = @cycle_analytics.test.presence
      = distance_of_time_in_words test
    - else
      = "<Not enough data>"

30 31 32 33 34 35
  %li.list-group-item
    Review:
    - if review = @cycle_analytics.review.presence
      = distance_of_time_in_words review
    - else
      = "<Not enough data>"
36 37 38 39 40 41 42

  %li.list-group-item
    Staging:
    - if staging = @cycle_analytics.staging.presence
      = distance_of_time_in_words staging
    - else
      = "<Not enough data>"
43 44 45 46 47 48 49

  %li.list-group-item
    Production:
    - if production = @cycle_analytics.production.presence
      = distance_of_time_in_words production
    - else
      = "<Not enough data>"