Sha256: 30e46668651a82f1ae1b258859566d8c2764356184925dfb1b34c0d377b58ca9

Contents?: true

Size: 596 Bytes

Versions: 2

Compression:

Stored size: 596 Bytes

Contents

= render '/iro/purses/header', purse: @purse

- u = @purse.unit
.purses-gameuiW{ data: { margin: { left: u*@n_dollars } } }
  .purses-gameui
    .a

      %div{ 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
          -# = pos.strategy.kind
          = render "/iro/positions/gameui_#{pos.strategy.kind}", position: pos

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
iron_warbler-2.0.7.22 app/views/iro/purses/gameui.haml
iron_warbler-2.0.7.21 app/views/iro/purses/gameui.haml