Sha256: f4b769b56e165b2745ece874b0fc02dd0264416571e8fbcefcb67ae71a25249a

Contents?: true

Size: 1.28 KB

Versions: 24

Compression:

Stored size: 1.28 KB

Contents

= big_list_item(:class => "top", :id => "#{video.id}") do
  .item-title{:class => row_class(video)}
    %strong= video.list_title
    %br/
    %small
      #{video.encoded_state.titleize}
  .item-actions
    - unless video.output_url.blank?
      .item-action
        = link_to image_tag("forge/icons/right-arrow.png"), play_forge_video_path(video), :class => 'fancybox notitle'
        %br/
        %small= link_to("Play", play_forge_video_path(video), :class => 'fancybox')
    - unless video.mobile_output_url.blank?
      .item-action
        = link_to image_tag("forge/icons/right-arrow.png", :alt => nil), play_forge_video_path(video, :mobile => 1), :class => 'fancybox notitle'
        %br/
        %small= link_to("Play Mobile", play_forge_video_path(video, :mobile => 1), :class => 'fancybox')
    - if video.encoded_state == "unencoded"
      .item-action
        = link_to image_tag("forge/icons/gear-alt.png", :alt => nil), encode_forge_video_path(video)
        %br/
        %small= link_to "Encode", encode_forge_video_path(video)
    - elsif video.encoded_state == "queued"
      .item-action{:style => "opacity: 0.7"}
        = image_tag("forge/icons/gear-alt.png")
        %br/
        %small{:style => "color: #C8C8C8"}= "Encoding..."
    = edit_link(video)
    = delete_link(video)
  .spacer

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
forge-cli-0.1.10 lib/forge/app/views/forge/videos/_video.html.haml
forge-cli-0.1.9 lib/forge/app/views/forge/videos/_video.html.haml
forge-cli-0.1.8 lib/forge/app/views/forge/videos/_video.html.haml
forge-cli-0.1.7 lib/forge/app/views/forge/videos/_video.html.haml
forge-cli-0.1.6 lib/forge/app/views/forge/videos/_video.html.haml
forge-cli-0.1.5 lib/forge/app/views/forge/videos/_video.html.haml
forge-cli-0.1.4 lib/forge/app/views/forge/videos/_video.html.haml
forge-cli-0.1.3 lib/forge/app/views/forge/videos/_video.html.haml
forge-cli-0.1.2 lib/forge/app/views/forge/videos/_video.html.haml
forge-cli-0.1.1 lib/forge/app/views/forge/videos/_video.html.haml
forge-cli-0.1.0 lib/forge/app/views/forge/videos/_video.html.haml
forge-cli-0.0.18 lib/forge/app/views/forge/videos/_video.html.haml
forge-cli-0.0.17 lib/forge/app/views/forge/videos/_video.html.haml
forge-cli-0.0.16 lib/forge/app/views/forge/videos/_video.html.haml
forge-cli-0.0.15 lib/forge/app/views/forge/videos/_video.html.haml
forge-cli-0.0.14 lib/forge/app/views/forge/videos/_video.html.haml
forge-cli-0.0.13 lib/forge/app/views/forge/videos/_video.html.haml
forge-cli-0.0.12 lib/forge/app/views/forge/videos/_video.html.haml
forge-cli-0.0.11 lib/forge/app/views/forge/videos/_video.html.haml
forge-cli-0.0.10 lib/forge/app/views/forge/videos/_video.html.haml