ish_manager 0.1.8.378 → 0.1.8.379

Sign up to get free protection for your applications and to get access to all the features.
Files changed (35) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/stylesheets/ish_manager/application.scss +6 -2
  3. data/app/assets/stylesheets/ish_manager/iro.scss +49 -0
  4. data/app/assets/stylesheets/ish_manager/videos.scss +23 -4
  5. data/app/controllers/ish_manager/iro_purses_controller.rb +16 -1
  6. data/app/controllers/ish_manager/iro_strategies_controller.rb +41 -0
  7. data/app/controllers/ish_manager/videos_controller.rb +4 -3
  8. data/app/helpers/ish_manager/application_helper.rb +9 -0
  9. data/app/views/ish_manager/application/_metaline.haml +1 -0
  10. data/app/views/ish_manager/iro_purses/my.haml +63 -6
  11. data/app/views/ish_manager/iro_strategies/_form.haml +28 -0
  12. data/app/views/ish_manager/iro_strategies/edit.haml +6 -0
  13. data/app/views/ish_manager/iro_strategies/new.haml +6 -0
  14. data/app/views/ish_manager/videos/_form.haml +1 -4
  15. data/app/views/ish_manager/videos/_index.haml +23 -23
  16. data/app/views/ish_manager/videos/edit.haml +6 -6
  17. data/app/views/ish_manager/videos/index.haml +1 -5
  18. data/app/views/ish_manager/videos/new.haml +5 -4
  19. data/app/views/ish_manager/videos/show.haml +17 -12
  20. data/app/views/ish_manager/videos/trash/_embed.haml +5 -0
  21. data/config/routes.rb +2 -0
  22. metadata +21 -15
  23. data/app/views/ish_manager/videos/_embed.haml +0 -5
  24. /data/app/views/ish_manager/{iron_warbler_mailer → iro_mailer}/condor_followup_alerb.html.erb +0 -0
  25. /data/app/views/ish_manager/{iron_warbler_mailer → iro_mailer}/option_alert.html.erb +0 -0
  26. /data/app/views/ish_manager/{iron_warbler_mailer → iro_mailer}/stock_alert.html.erb +0 -0
  27. /data/app/views/ish_manager/videos/{_embed_half.erb → trash/_embed_half.erb} +0 -0
  28. /data/app/views/ish_manager/videos/{_embed_mini.erb → trash/_embed_mini.erb} +0 -0
  29. /data/app/views/ish_manager/videos/{_embed_s3.erb → trash/_embed_s3.erb} +0 -0
  30. /data/app/views/ish_manager/videos/{_embed_youtube.erb → trash/_embed_youtube.erb} +0 -0
  31. /data/app/views/ish_manager/videos/{_index_title.haml → trash/_index_title.haml} +0 -0
  32. /data/app/views/ish_manager/videos/{_list.haml → trash/_list.haml} +0 -0
  33. /data/app/views/ish_manager/videos/{_list_small.haml → trash/_list_small.haml} +0 -0
  34. /data/app/views/ish_manager/videos/{_meta_edit.haml → trash/_meta_edit.haml} +0 -0
  35. /data/app/views/ish_manager/videos/{_preview.haml → trash/_preview.haml} +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 72d1d8103d7dde529e81e9074568b647db2b98bd9d1c6019664c417837243b15
4
- data.tar.gz: 82c682267071f417b7f908ade31ae60a6139a7dfdd3794aedc9580fe7fe2abc6
3
+ metadata.gz: bc7466bd6a3a9a26f51a3e0faaccb035977d4fa187547f5df2c330f4b16baf38
4
+ data.tar.gz: 22896a8d35689726ea8378e807b3a351c2d1f29372983336dcb9f2841a9f8026
5
5
  SHA512:
6
- metadata.gz: 80b6707997cda1e32efa5e2bee8776f77b5823f6e761fee72e8ffdbd2d0ddc7ac6b0a732a5f3a6fe7314a8664f059378f4bb7384fbe3dcf2dcfa631503203669
7
- data.tar.gz: f923c98b7eaf195c22da13c9761b45af889844b049b5eda104db927275f5f3fe5c97ff2c76686d93b42bc479cd3a570d7d577f19851ffa335e3407097579a123
6
+ metadata.gz: 76f0ce488315dce5273f8bbaa4c0ce72224f930ca42609f0d4c15ae3d74434756acead558a466213a16fa62d48e30584a87f3503ba6cbc50b7a425d4fd30558b
7
+ data.tar.gz: 5500963fb2569b82727f89fcb7bf419a08954c43314dc79c4eacabe7fb39f088a51bdda06055574a6e4975b628bcc7f49392ecfec861f6c914b7f98b08b43f6c
@@ -11,6 +11,7 @@
11
11
  *= require ish_manager/email
12
12
  *
13
13
  *= require ish_manager/galleries
14
+ *= require ish_manager/iro
14
15
  *= require ish_manager/leads_leadsets
15
16
  *= require ish_manager/maps
16
17
  *= require ish_manager/markers
@@ -21,6 +22,7 @@
21
22
  *= require ish_manager/tags
22
23
  *= require ish_manager/user_profiles
23
24
  *= require ish_manager/videos
25
+
24
26
  *
25
27
  **/
26
28
 
@@ -122,8 +124,10 @@ body.application-fullwidth {
122
124
  }
123
125
 
124
126
  table.bordered {
125
- td {
126
- border: 1px solid black;
127
+ tbody {
128
+ td {
129
+ border: 1px solid black;
130
+ }
127
131
  }
128
132
  }
129
133
 
@@ -0,0 +1,49 @@
1
+
2
+ .iro-purses-my {
3
+ font-size: 16px; // @TODO: make uniform _vp_ 2023-03-19
4
+
5
+ table {
6
+
7
+ td {
8
+ padding: 0 .5em;
9
+ }
10
+
11
+ tbody {
12
+ .must-roll,
13
+ .next-symbol {
14
+ text-align: center;
15
+ }
16
+
17
+ .net,
18
+ .netp {
19
+ font-weight: bold;
20
+ text-align: right;
21
+ }
22
+
23
+ .should-roll > .aC {
24
+ display: flex;
25
+ justify-content: space-between;
26
+ }
27
+ }
28
+ }
29
+
30
+
31
+
32
+ .must-roll,
33
+ .should-roll,
34
+ .next-symbol {
35
+ background: #eee;
36
+ }
37
+
38
+ .q {
39
+ font-weight: bold;
40
+ }
41
+
42
+ .strategy {
43
+ pre {
44
+ font-size: 12px;
45
+ background: #eee;
46
+ }
47
+ }
48
+
49
+ }
@@ -1,10 +1,29 @@
1
1
 
2
- .ish_manager-videos-show {
3
- border-bottom: 2px solid red;
4
- margin: 0 auto;
2
+ .videos-index {
3
+ .header {
4
+ display: flex;
5
+ justify-content: space-between;
6
+ }
7
+
8
+ .item {
9
+ margin-bottom: 1em;
10
+
11
+ .title {
12
+ word-break: break-word;
13
+ }
14
+ }
15
+
16
+ .pagination {
17
+ margin: 1em 0;
18
+ }
19
+ }
20
+
21
+ div.videos-show {
22
+ // border-bottom: 2px solid red;
5
23
  padding-bottom: .8em;
6
- width: 640px;
7
24
 
25
+ margin: 0 auto;
26
+ width: 640px;
8
27
 
9
28
  .title {
10
29
  font-size: 1.4em;
@@ -6,7 +6,22 @@ class ::IshManager::IroPursesController < IshManager::ApplicationController
6
6
  def my
7
7
  @purse = Iro::Purse.find_or_create_by({ user_id: current_user.id })
8
8
  authorize! :my, @purse
9
- @positions = @purse.positions
9
+ @positions = @purse.positions.order({ expires_on: :asc, strike: :asc })
10
+ @strategies = Iro::CoveredCallStrategy.where({
11
+ iro_purse_id: Iro::Purse.find_by( user_id: current_user.id ).id,
12
+ })
10
13
  end
11
14
 
12
15
  end
16
+
17
+ =begin
18
+ @strategy = {
19
+ buffer_above_water: 0.49, # be this much $ above current price, in next position
20
+ next_max_delta: 0.25, # of next position
21
+ next_min_price: 16,
22
+ threshold_delta: 0.14, # should roll at this delta
23
+ threshold_netp: 0.69, # should roll at the net %
24
+ target_profilt: 0.19, # unused
25
+ current_underlying_strike: 16.6,
26
+ }
27
+ =end
@@ -0,0 +1,41 @@
1
+
2
+ class ::IshManager::IroStrategiesController < IshManager::ApplicationController
3
+
4
+ def create
5
+ @strategy = Iro::CoveredCallStrategy.new params[:iro_strategy].permit!
6
+ @strategy.iro_purse_id = Iro::Purse.where( user_id: current_user.id ).first.id
7
+ authorize! :create, @strategy
8
+ flag = @strategy.save
9
+ if flag
10
+ flash[:notice] = 'Success.'
11
+ redirect_to my_purse_path
12
+ else
13
+ flash[:alert] = "No luck: #{@strategy.full_errors.messages.join(', ')}."
14
+ render action: 'new'
15
+ end
16
+ end
17
+
18
+ def edit
19
+ @strategy = Iro::CoveredCallStrategy.find params[:id]
20
+ authorize! :edit, @strategy
21
+ end
22
+
23
+ def new
24
+ @strategy = Iro::CoveredCallStrategy.new
25
+ authorize! :new, @strategy
26
+ end
27
+
28
+ def update
29
+ @strategy = Iro::CoveredCallStrategy.find params[:id]
30
+ authorize! :update, @strategy
31
+ flag = @strategy.update params[:iro_strategy].permit!
32
+ if flag
33
+ flash[:notice] = 'Success.'
34
+ redirect_to my_purse_path
35
+ else
36
+ flash[:alert] = "No luck: #{@strategy.full_errors.messages.join(', ')}."
37
+ render action: 'new'
38
+ end
39
+ end
40
+
41
+ end
@@ -3,7 +3,7 @@ class IshManager::VideosController < IshManager::ApplicationController
3
3
 
4
4
  before_action :set_lists
5
5
 
6
- # alphabetized : )
6
+ # Alphabetized : )
7
7
 
8
8
  def create
9
9
  @video = Video.new params[:video].permit(%i| name descr is_public is_trash is_feature x y lang youtube_id
@@ -40,13 +40,14 @@ class IshManager::VideosController < IshManager::ApplicationController
40
40
 
41
41
  def index
42
42
  authorize! :index, Video.new
43
- @videos = Video.unscoped.where( is_trash: false, :user_profile => @current_profile ).order_by( :created_at => :desc )
43
+ @videos = Video.unscoped.where( is_trash: false, :user_profile => @current_profile
44
+ ).order_by( :created_at => :desc )
44
45
 
45
46
  if params[:q]
46
47
  @videos = @videos.where({ :name => /#{params[:q]}/i })
47
48
  end
48
49
 
49
- @videos = @videos.page( params[:videos_page] ).per( 10 )
50
+ @videos = @videos.page( params[:videos_page] ).per( 9 )
50
51
 
51
52
  respond_to do |format|
52
53
  format.html do
@@ -55,8 +55,17 @@ module IshManager
55
55
  def pp_date a; pretty_date a; end
56
56
 
57
57
  def pp_amount a
58
+ return '-' if !a
58
59
  "$ #{'%.2f' % a}"
59
60
  end
61
+ def pp_money a; pp_amount a; end
62
+ def pp_percent a
63
+ "#{(a*100).round(2)}%"
64
+ end
65
+
66
+ def pp_bool a
67
+ a ? 'Y' : '-'
68
+ end
60
69
 
61
70
  end
62
71
  end
@@ -0,0 +1 @@
1
+ app/views/ish_manager/application/_meta.haml
@@ -1,11 +1,68 @@
1
1
 
2
- .iro-purses-my.max-width
2
+ .iro-purses-my.padded
3
3
  .header
4
- %h2.title
5
- My purse value: $#{@purse.current_value}
4
+ %h2.title My purse value: $#{@purse.current_value}
5
+
6
+ .strategies
7
+ - @strategies.each do |strat|
8
+ .strategy
9
+ = link_to '[~]', edit_iro_strategy_path( strat )
10
+ <pre>#{JSON.pretty_generate( strat.display_attrs )}</pre>
11
+
6
12
 
7
13
  .positions
8
14
  %h3 Positions (#{@positions.length})
9
- %ul
10
- - @positions.each do |p|
11
- %li= p.inspect
15
+
16
+ %table.bordered
17
+ %thead
18
+ %tr
19
+ %td id
20
+ %td Strat
21
+ %td Ticker
22
+ %td Kind/Type
23
+ %td Strike
24
+ %td ExpiresOn
25
+ %td Days Left
26
+ %td.q Q
27
+ %td Begin On
28
+ %td Begin $
29
+ %td Begin #{"\u0394"}
30
+ %td Current $
31
+ %td.net Net
32
+ %td.netp % Net
33
+ %td Curr #{"\u0394"}
34
+ %td Days at Open
35
+ %td.must-roll Must roll?
36
+ %td.should-roll Should roll?
37
+ %td.next-symbol Next Symbol
38
+ %td.next-outcome Next Outcome
39
+ %td.state State
40
+ %tbody
41
+ - @positions.each do |p|
42
+ %tr
43
+ %td= p.id
44
+ %td= p.iro_strategy_id
45
+ %td= p.ticker
46
+ %td= p.type == "Iro::CoveredCall" ? "CALL" : "other"
47
+ %td= p.strike
48
+ %td= p.expires_on.strftime('%b %d')
49
+ %td= (p.expires_on.to_date - Time.now.to_date).to_i
50
+ %td.q= p.quantity
51
+ %td= pp_date p.opened_on
52
+ %td= p.opened_price
53
+ %td= sprintf('%.2f', p.opened_delta ) rescue nil
54
+ %td= pp_money p.current_price
55
+ %td.net= pp_money ( p.opened_price - p.current_price ) * 100 - 1.3
56
+ %td.netp= pp_percent ( p.opened_price - p.current_price ) / p.opened_price
57
+ %td= sprintf('%.2f', p.current_delta ) rescue nil
58
+ %td= (p.expires_on.to_date - p.opened_on).to_i
59
+ %td.must-roll= pp_bool p.must_roll?
60
+ %td.should-roll
61
+ .aC
62
+ .a= p.should_rollp ? p.should_rollp : '-'
63
+ .a= pp_bool p.should_roll?
64
+ %td.next-symbol= p.next_symbol
65
+ %td.next-outcome= pp_money p.next_outcome
66
+ %td.state= p.status
67
+
68
+
@@ -0,0 +1,28 @@
1
+
2
+ - url = strategy.new_record? ? iro_strategies_path : iro_strategy_path(strategy)
3
+ .iro-strategies--form
4
+ = form_for strategy, url: url, as: :iro_strategy do |f|
5
+ .field
6
+ = f.label :buffer_above_water
7
+ = f.number_field :buffer_above_water, placeholder: "0.49", step: 0.01
8
+ .field
9
+ = f.label :next_max_delta
10
+ = f.number_field :next_max_delta, placeholder: "0.25", step: 0.01
11
+ .field
12
+ = f.label :next_min_price
13
+ = f.number_field :next_min_price, placeholder: "20.0", step: 0.01
14
+ .field
15
+ = f.label :threshold_delta
16
+ = f.number_field :threshold_delta, placeholder: "0.14", step: 0.01
17
+ .field
18
+ = f.label :threshold_netp
19
+ = f.number_field :threshold_netp, placeholder: "0.69", step: 0.01
20
+ .field
21
+ = f.label :target_profit
22
+ = f.number_field :target_profit, placeholder: "0.19", step: 0.01
23
+ .field
24
+ = f.label :current_underlying_strike
25
+ = f.number_field :current_underlying_strike, placeholder: "16.66", step: 0.01
26
+
27
+ .actions
28
+ = f.submit 'Submit'
@@ -0,0 +1,6 @@
1
+
2
+ .iro-strategies-edit.max-width
3
+ .header
4
+ %h3.title Edit Strategy #{@strategy.id}
5
+
6
+ = render 'form', strategy: @strategy
@@ -0,0 +1,6 @@
1
+
2
+ .iro-strategies-new.max-width
3
+ .header
4
+ %h3.title New Strategy
5
+
6
+ = render 'form', strategy: @strategy
@@ -1,6 +1,6 @@
1
1
 
2
2
  = form_for video do |f|
3
- = render 'form_errors', :item => @video
3
+ -# = render 'form_errors', :item => @video
4
4
 
5
5
  .row
6
6
  .col.m6
@@ -34,9 +34,6 @@
34
34
  .col.s4
35
35
  = f.check_box :is_trash
36
36
  = f.label :is_trash
37
- .col.s4
38
- = f.check_box :is_feature
39
- = f.label :is_feature
40
37
 
41
38
  .action
42
39
  = f.submit
@@ -2,31 +2,31 @@
2
2
  - videos ||= @videos
3
3
 
4
4
  .videos--index
5
+ .header
6
+ %h5.title
7
+ Videos (#{videos.count})
8
+ = link_to '[+]', new_video_path
9
+ = render 'search', path: videos_path
5
10
 
6
- %h5
7
- Videos (#{videos.count})
8
- = link_to '[+]', new_video_path
9
-
10
- = paginate videos, :param_name => :videos_page, :views_prefix => 'ish_manager'
11
+ = paginate videos, param_name: :videos_page, views_prefix: 'ish_manager'
11
12
 
12
13
  .row
13
14
  - videos.each do |video|
14
- .col.s6
15
- .item.panel
16
- .panel-content
17
- .float-left
18
- - if video.youtube_id.present?
19
- -## doesn't work with private videos, which are most
20
- -# .thumb-youtube= image_tag "https://img.youtube.com/vi/#{video.youtube_id}/1.jpg"
21
- = render 'ish_manager/videos/embed_mini', video: video
22
- - else
23
- .thumb= image_tag video.thumb.url(:thumb)
24
- .a
25
- = link_to video.name, video_path( video )
26
- = render 'meta_edit', item: video
27
- = render 'meta', item: video
28
- .c
29
-
30
- = paginate videos, :param_name => :videos_page, :views_prefix => 'ish_manager'
31
- %hr
15
+ .col-md-4.item
16
+ .float-left
17
+ - if video.youtube_id.present?
18
+ %iframe{:allowfullscreen => "true", :frameborder => "0", :height => "150", :src => "//www.youtube.com/embed/#{video.youtube_id}", :width => "200"}
19
+ - else
20
+ .thumb= image_tag video.thumb.url(:thumb)
21
+ .title
22
+ = link_to video.name, video_path( video )
23
+ .meta-edit
24
+ .inline= button_to '[x]', video_path( video ), :method => :delete, :data => { :confirm => 'Are you sure?' }
25
+ = link_to '[~]', edit_video_path( video )
26
+
27
+ = render 'meta', item: video
28
+
29
+
30
+ = paginate videos, param_name: :videos_page, views_prefix: 'ish_manager'
31
+
32
32
 
@@ -1,7 +1,7 @@
1
1
 
2
- -# videos / edit
3
-
4
- .row
5
- .large-12.columns
6
- %h2 Edit video
7
- = render 'form', :video => @video
2
+
3
+ .videos-edit.max-width
4
+ .header
5
+ %h3.title Edit Video
6
+
7
+ = render 'form', :video => @video
@@ -1,7 +1,3 @@
1
1
 
2
- .videos-index
3
- = render 'ish_manager/sites/header', :site => @site if @site
4
-
5
- = render 'search', path: videos_path
6
-
2
+ .videos-index.padded
7
3
  = render 'index', :videos => @videos
@@ -1,5 +1,6 @@
1
1
 
2
- .row
3
- .large-12.columns
4
- %h2= t('videos.new')
5
- = render 'form', :video => @video
2
+ .videos-new.max-width
3
+ .header
4
+ %h3.title New Video
5
+
6
+ = render 'form', :video => @video
@@ -1,19 +1,24 @@
1
1
 
2
- - content_for :title do
3
- #{@video.name}
2
+ - video ||= @video
4
3
 
5
- .ish_manager-videos-show
6
- = link_to '[Back]', videos_path
4
+ .videos-show.max-width
5
+ .row
6
+ = link_to '[Back]', videos_path
7
7
 
8
- = render 'embed', :video => @video
8
+ - if video.youtube_id.present?
9
+ %iframe{:allowfullscreen => "", :frameborder => "0", :height => "315", :src => "//www.youtube.com/embed/#{video.youtube_id}", :width => "560"}
10
+ - else
11
+ %iframe{:allowfullscreen => "true", :frameborder => "0", :height => "480", :src => "#{video.video.url}", :width => "640"}
9
12
 
10
- .row
11
- = image_tag @video.thumb.url(:thumb)
13
+ .flex-row
14
+ .a= image_tag video.thumb.url(:thumb)
12
15
  .a
13
16
  .title
14
- = @video.name.blank? ? t('videos.no_title') : @video.name
15
- .flex-row
16
- = render 'meta_edit', item: @video
17
- = render 'ish_manager/application/meta', :item => @video
18
- .flex-row= link_to @video.video_file_name, @video.video.url
17
+ = video.name.blank? ? t('videos.no_title') : video.name
18
+ .meta-edit
19
+ .inline= button_to '[x]', video_path( video ), :method => :delete, :data => { :confirm => 'Are you sure?' }
20
+ = link_to '[~]', edit_video_path( video )
21
+
22
+ = render 'ish_manager/application/metaline', :item => video
23
+ .flex-row= link_to video.video_file_name, video.video.url
19
24
 
@@ -0,0 +1,5 @@
1
+
2
+ - if video.youtube_id.present?
3
+ = render 'embed_youtube', video: video
4
+ - else
5
+ = render 'embed_s3', video: video
data/config/routes.rb CHANGED
@@ -27,6 +27,8 @@ IshManager::Engine.routes.draw do
27
27
  get 'iro_watches', to: 'iro_watches#index'
28
28
  get 'iro_purse', to: 'iro_purses#my', as: :my_purse
29
29
 
30
+ resources :iro_strategies
31
+
30
32
 
31
33
 
32
34
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ish_manager
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.8.378
4
+ version: 0.1.8.379
5
5
  platform: ruby
6
6
  authors:
7
7
  - piousbox
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-03-19 00:00:00.000000000 Z
11
+ date: 2023-03-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -290,6 +290,7 @@ files:
290
290
  - app/assets/stylesheets/ish_manager/email_messages.scss
291
291
  - app/assets/stylesheets/ish_manager/email_templates.scss
292
292
  - app/assets/stylesheets/ish_manager/galleries.scss
293
+ - app/assets/stylesheets/ish_manager/iro.scss
293
294
  - app/assets/stylesheets/ish_manager/jquery-ui.css
294
295
  - app/assets/stylesheets/ish_manager/leads_leadsets.scss
295
296
  - app/assets/stylesheets/ish_manager/maps.scss
@@ -319,6 +320,7 @@ files:
319
320
  - app/controllers/ish_manager/image_assets_controller.rb
320
321
  - app/controllers/ish_manager/invoices_controller.rb
321
322
  - app/controllers/ish_manager/iro_purses_controller.rb
323
+ - app/controllers/ish_manager/iro_strategies_controller.rb
322
324
  - app/controllers/ish_manager/iro_watches_controller.rb
323
325
  - app/controllers/ish_manager/leads_controller.rb
324
326
  - app/controllers/ish_manager/leadset_tags_controller.rb
@@ -385,6 +387,7 @@ files:
385
387
  - app/views/ish_manager/application/_main_header_admin.haml
386
388
  - app/views/ish_manager/application/_main_header_guy.haml
387
389
  - app/views/ish_manager/application/_meta.haml
390
+ - app/views/ish_manager/application/_metaline.haml
388
391
  - app/views/ish_manager/application/_paginate.haml
389
392
  - app/views/ish_manager/application/_profile_pic.haml
390
393
  - app/views/ish_manager/application/_search.haml
@@ -462,10 +465,13 @@ files:
462
465
  - app/views/ish_manager/invoices/_form.haml
463
466
  - app/views/ish_manager/invoices/index.haml
464
467
  - app/views/ish_manager/invoices/new.haml
468
+ - app/views/ish_manager/iro_mailer/condor_followup_alerb.html.erb
469
+ - app/views/ish_manager/iro_mailer/option_alert.html.erb
470
+ - app/views/ish_manager/iro_mailer/stock_alert.html.erb
465
471
  - app/views/ish_manager/iro_purses/my.haml
466
- - app/views/ish_manager/iron_warbler_mailer/condor_followup_alerb.html.erb
467
- - app/views/ish_manager/iron_warbler_mailer/option_alert.html.erb
468
- - app/views/ish_manager/iron_warbler_mailer/stock_alert.html.erb
472
+ - app/views/ish_manager/iro_strategies/_form.haml
473
+ - app/views/ish_manager/iro_strategies/edit.haml
474
+ - app/views/ish_manager/iro_strategies/new.haml
469
475
  - app/views/ish_manager/kaminari/_first_page.html.erb
470
476
  - app/views/ish_manager/kaminari/_gap.html.erb
471
477
  - app/views/ish_manager/kaminari/_last_page.html.erb
@@ -547,22 +553,22 @@ files:
547
553
  - app/views/ish_manager/user_profiles/show.haml
548
554
  - app/views/ish_manager/users/_index.haml
549
555
  - app/views/ish_manager/users/index.haml
550
- - app/views/ish_manager/videos/_embed.haml
551
- - app/views/ish_manager/videos/_embed_half.erb
552
- - app/views/ish_manager/videos/_embed_mini.erb
553
- - app/views/ish_manager/videos/_embed_s3.erb
554
- - app/views/ish_manager/videos/_embed_youtube.erb
555
556
  - app/views/ish_manager/videos/_form.haml
556
557
  - app/views/ish_manager/videos/_index.haml
557
- - app/views/ish_manager/videos/_index_title.haml
558
- - app/views/ish_manager/videos/_list.haml
559
- - app/views/ish_manager/videos/_list_small.haml
560
- - app/views/ish_manager/videos/_meta_edit.haml
561
- - app/views/ish_manager/videos/_preview.haml
562
558
  - app/views/ish_manager/videos/edit.haml
563
559
  - app/views/ish_manager/videos/index.haml
564
560
  - app/views/ish_manager/videos/new.haml
565
561
  - app/views/ish_manager/videos/show.haml
562
+ - app/views/ish_manager/videos/trash/_embed.haml
563
+ - app/views/ish_manager/videos/trash/_embed_half.erb
564
+ - app/views/ish_manager/videos/trash/_embed_mini.erb
565
+ - app/views/ish_manager/videos/trash/_embed_s3.erb
566
+ - app/views/ish_manager/videos/trash/_embed_youtube.erb
567
+ - app/views/ish_manager/videos/trash/_index_title.haml
568
+ - app/views/ish_manager/videos/trash/_list.haml
569
+ - app/views/ish_manager/videos/trash/_list_small.haml
570
+ - app/views/ish_manager/videos/trash/_meta_edit.haml
571
+ - app/views/ish_manager/videos/trash/_preview.haml
566
572
  - app/views/layouts/ish_manager/application.haml
567
573
  - app/views/layouts/ish_manager/done/20230316 application.haml
568
574
  - app/views/layouts/ish_manager/email_iframe.haml
@@ -1,5 +0,0 @@
1
-
2
- - if !video.youtube_id.blank?
3
- = render 'embed_youtube', video: video
4
- - else
5
- = render 'embed_s3', video: video