Sha256: 7608d8e70091e4e189d17ab57eb731763cb7a50c17b1a6ec69f23466e10e4e53

Contents?: true

Size: 664 Bytes

Versions: 9

Compression:

Stored size: 664 Bytes

Contents

%a{:name => "weight_history"}
%h2 Experiment Weight History
- @weight_history.group_by(&:group_name).each do |group_name, group|
  .group
    %fieldset
      %legend= group_name
      .chart= image_tag weight_history(group_name, group)
      .toggle_table (table)
      %table
        %tr
          %th Date
          %th Alternative
          %th Weight
        - group.sort_by(&:computed_at).reverse.each do |row|
          %tr
            %td.date
              = row.computed_at
              - if row.launch_window
                = "(#{row.launch_window} day(s) till hard launch)"
            %td.name= row.alternative
            %td.weight= row.weight
    

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
conductor-0.9.4 app/views/conductor/dashboard/_weight_history.html.haml
conductor-0.9.3 app/views/conductor/dashboard/_weight_history.html.haml
conductor-0.8.3 lib/conductor/rails/views/dashboard/_weight_history.html.haml
conductor-0.8.1 lib/conductor/views/dashboard/_weight_history.html.haml
conductor-0.7.2 lib/conductor/views/dashboard/_weight_history.html.haml
conductor-0.7.1 lib/conductor/views/dashboard/_weight_history.html.haml
conductor-0.7.0 lib/conductor/views/dashboard/_weight_history.html.haml
conductor-0.6.5 lib/conductor/views/dashboard/_weight_history.html.haml
conductor-0.6.4 lib/conductor/views/dashboard/_weight_history.html.haml