Sha256: b1c21cd3074e805fcc45355046a45443424af1d9d3f467586c3ca84d2426d503

Contents?: true

Size: 720 Bytes

Versions: 20

Compression:

Stored size: 720 Bytes

Contents

- u = @purse.unit

.purses--gameui

  .row.padded
    .col-md-6
      = render '/iro/purses/header', purse: @purse
    .col-md-6
      = render '/iro/purses/summary', purse: @purse, collapse_key: 'views-gameui'

  .purses-gameuiW{ data: { margin: { left: u*@n_dollars } } }
    .purses-gameui
      .purses-gameuiC{ style: "margin-left: #{u*@n_dollars}px; width: 100% " }

        - @positions.each_with_index do |pos, idx|
          - if idx == 0
            %h4.maxwidth= pos.stock
          - else
            - prev_ = @positions[idx-1]
            - if pos.stock != prev_.stock
              %hr
              %h4.maxwidth= pos.stock

          = render "/iro/positions/gameui_#{pos.strategy.kind}", position: pos

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
iron_warbler-2.0.7.43 app/views/iro/purses/gameui.haml
iron_warbler-2.0.7.42 app/views/iro/purses/gameui.haml
iron_warbler-2.0.7.41 app/views/iro/purses/gameui.haml
iron_warbler-2.0.7.40 app/views/iro/purses/gameui.haml
iron_warbler-2.0.7.39 app/views/iro/purses/gameui.haml
iron_warbler-2.0.7.38 app/views/iro/purses/gameui.haml
iron_warbler-2.0.7.37 app/views/iro/purses/gameui.haml
iron_warbler-2.0.7.36 app/views/iro/purses/gameui.haml
iron_warbler-2.0.7.35 app/views/iro/purses/gameui.haml
iron_warbler-2.0.7.34 app/views/iro/purses/gameui.haml
iron_warbler-2.0.7.33 app/views/iro/purses/gameui.haml
iron_warbler-2.0.7.32 app/views/iro/purses/gameui.haml
iron_warbler-2.0.7.31 app/views/iro/purses/gameui.haml
iron_warbler-2.0.7.30 app/views/iro/purses/gameui.haml
iron_warbler-2.0.7.29 app/views/iro/purses/gameui.haml
iron_warbler-2.0.7.28 app/views/iro/purses/gameui.haml
iron_warbler-2.0.7.27 app/views/iro/purses/gameui.haml
iron_warbler-2.0.7.26 app/views/iro/purses/gameui.haml
iron_warbler-2.0.7.25 app/views/iro/purses/gameui.haml
iron_warbler-2.0.7.24 app/views/iro/purses/gameui.haml