asciinema.org/app/views/asciicasts/_preview.html.slim
2013-08-15 20:45:51 +02:00

18 lines
426 B
Plaintext

- cache ['thumbnail', asciicast] do
.presentation
= link_to asciicast, :class => 'preview-link' do
.play-button
.arrow
| ►
.thumbnail
= asciicast.thumbnail(30, 10)
.info
h3 = link_to asciicast.title, asciicast
p.date
span> = asciicast.duration
' |
span> = asciicast.author_link
' |
span = time_ago_tag asciicast.created_at