19 lines
589 B
Plaintext
19 lines
589 B
Plaintext
.video_folder
|
|
-if total = video_folder.video_files.recents.count and total > 3
|
|
.right
|
|
=link_to raw("Voir toutes les vidéos <span>#{total}</span> >"), public_video_folder_path(video_folder), :class => "more_videos_link"
|
|
|
|
|
|
|
|
|
|
%h2
|
|
=link_to video_folder.name, public_video_folder_path(video_folder)
|
|
.clear
|
|
.video_files
|
|
-video_folder.video_files.recents.lang(@lang.slug).limit(3).each do |video_file|
|
|
.column
|
|
=render :partial => "public/video_files/video_file",:object => video_file, :locals => {:hard_link => true}
|
|
|
|
|
|
.clear
|
|
|