2014-04-10 19:44:47 +00:00
|
|
|
- cache ['thumbnail', asciicast, asciicast.user] do
|
2013-11-22 22:31:18 +00:00
|
|
|
.preview
|
|
|
|
= link_to asciicast, class: 'thumbnail-link' do
|
|
|
|
.play-button
|
|
|
|
span.arrow
|
|
|
|
span.glyphicon.glyphicon-play
|
2014-06-30 21:26:25 +00:00
|
|
|
.thumbnail class="asciinema-theme-#{asciicast.theme_name}"
|
2013-12-03 20:51:49 +00:00
|
|
|
= asciicast.thumbnail(100, 15)
|
2013-08-14 17:38:01 +00:00
|
|
|
|
2013-11-22 22:31:18 +00:00
|
|
|
.info.clearfix
|
|
|
|
h2
|
|
|
|
= link_to asciicast.title, asciicast
|
|
|
|
span.duration = asciicast.formatted_duration
|
|
|
|
span.author-avatar = asciicast.author_img_link
|
|
|
|
small by #{asciicast.author_link} #{time_ago_tag asciicast.created_at}
|