Sha256: cee4d6d28cd34a5e85c9fab263dd4c88f1c274672add8e4e8311d16a204a74b6

Contents?: true

Size: 1.22 KB

Versions: 2

Compression:

Stored size: 1.22 KB

Contents

- @title = t('workarea.storefront.play_lists.play_list')

- content_for :breadcrumbs do
  %p.breadcrumbs__node-group
    %span.breadcrumbs__node
      = link_to t('workarea.storefront.layouts.home'), root_path, rel: 'home', class: 'breadcrumbs__link'
    %span.breadcrumbs__node
      = link_to t('workarea.storefront.layouts.youtude_videos'), youtube_videos_path, rel: 'home', class: 'breadcrumbs__link'
    %span.breadcrumbs__node
      %span.breadcrumbs__text= params[:list_name]
.view.youtube-playlist
  - if @videos
    .grid
      .grid__cell.grid__cell--60-at-medium
        %h1.heading.heading--3.heading--upcase= params[:list_name]
      .grid__cell.grid__cell--40-at-medium
        = render 'workarea/storefront/youtube_videos/pagination', data: @videos, url_path: youtube_video_path(params[:id])
    .youtube-playlist__videos
      .grid.youtube-playlist__video-items
        - @videos["items"].each do |video_item|
          .grid__cell.grid__cell--33-at-medium
            = render 'workarea/storefront/youtube_videos/summary', video_item: video_item
    = render 'workarea/storefront/youtube_videos/pagination', data: @videos, url_path: youtube_video_path(params[:id])

  - else
    %p= t('workarea.storefront.play_lists.no_videos')

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
workarea-youtube_playlists-0.1.2 app/views/workarea/storefront/youtube_videos/show.haml
workarea-youtube_playlists-0.1.1 app/views/workarea/storefront/youtube_videos/show.haml