Sha256: 5319c660e4bbee67f1bac87565934af2b6bb4b4c501e695726866344510b9ed1

Contents?: true

Size: 1.55 KB

Versions: 61

Compression:

Stored size: 1.55 KB

Contents

.iro-purses-show-gameui.padded
  = render 'header'


  %h5.collapse-expand#gameuiPositions
    Gameui Positions (#{@positions.length})
    = link_to '[+]', new_iro_position_path({ iro_purse_id: @purse.id })
  .gameui-positions
    - @positions.each_with_index do |p, idx|
      - if idx > 0 && p[:expires_on] != @positions[idx-1][:expires_on]
        %hr

      -# something like, $23 Apr-14
      .gameuiW.show-amounts{ data: { cc: { strike: p.strike, startPrice: p.opened_price, currentPrice: p.current_price, cus: p.strategy.current_underlying_strike } } }
        .gameui
          .gameuiC
            = link_to '[roll]', roll_iro_position_path(p)

            .elephantW
              .elephant
                .elephantC

                  .amount

                  .q= p.quantity

                  .riderW
                    .rider
                      .riderC

                  .riderStart
                    .amount
                    .riderCurrent
                      .amount

                  .riderStart2
                    .amount
                    .riderCurrent2
                      .amount


                .sunflowerW
                  .sunflower
                    .sunflowerC

                      .days-left= (p.expires_on.to_date - Time.now.to_date).to_i

            .windW
              .wind
                .c-u-s= pp_currency p.strategy.current_underlying_strike
                .windC


            .spearW
              .spear
                .spearC
                  .spearStart
                    .spearCurrent
  .c

  = render 'show'

Version data entries

61 entries across 61 versions & 1 rubygems

Version Path
ish_manager-0.1.8.513 app/views/ish_manager/iro_purses/_show_gameui_0.haml
ish_manager-0.1.8.512 app/views/ish_manager/iro_purses/_show_gameui_0.haml
ish_manager-0.1.8.511 app/views/ish_manager/iro_purses/_show_gameui_0.haml
ish_manager-0.1.8.510 app/views/ish_manager/iro_purses/_show_gameui_0.haml
ish_manager-0.1.8.509 app/views/ish_manager/iro_purses/_show_gameui_0.haml
ish_manager-0.1.8.508 app/views/ish_manager/iro_purses/_show_gameui_0.haml
ish_manager-0.1.8.507 app/views/ish_manager/iro_purses/_show_gameui_0.haml
ish_manager-0.1.8.506 app/views/ish_manager/iro_purses/_show_gameui_0.haml
ish_manager-0.1.8.505 app/views/ish_manager/iro_purses/_show_gameui_0.haml
ish_manager-0.1.8.504 app/views/ish_manager/iro_purses/_show_gameui_0.haml
ish_manager-0.1.8.503 app/views/ish_manager/iro_purses/_show_gameui_0.haml
ish_manager-0.1.8.500 app/views/ish_manager/iro_purses/_show_gameui_0.haml
ish_manager-0.1.8.499 app/views/ish_manager/iro_purses/_show_gameui_0.haml
ish_manager-0.1.8.498 app/views/ish_manager/iro_purses/_show_gameui_0.haml
ish_manager-0.1.8.497 app/views/ish_manager/iro_purses/_show_gameui_0.haml
ish_manager-0.1.8.496 app/views/ish_manager/iro_purses/_show_gameui_0.haml
ish_manager-0.1.8.495 app/views/ish_manager/iro_purses/_show_gameui_0.haml
ish_manager-0.1.8.494 app/views/ish_manager/iro_purses/_show_gameui_0.haml
ish_manager-0.1.8.493 app/views/ish_manager/iro_purses/_show_gameui_0.haml
ish_manager-0.1.8.492 app/views/ish_manager/iro_purses/_show_gameui_0.haml