Skip to content

Commit

Permalink
fixup! Implement relive badge on thumbnails
Browse files Browse the repository at this point in the history
  • Loading branch information
QbDesu committed Dec 29, 2024
1 parent 3b47161 commit ce8b9f5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/views/frontend/shared/_event_thumb.haml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
%a{href: event_path(slug: event.slug)}
.thumbnail-badge-container
%img.video-thumbnail{src: h(event.thumb_url), alt: h(event.title), loading: 'lazy'}
- if event.duration
- if event.duration > 0
.duration
%span.icon.icon-clock-o
= duration_in_minutes(event.duration)
- if not event.recordings.video.present? and event.relive_present?
- if not @event.recordings.video.present? and @event.relive_present?
.relive
.span.icon.icon-warning-sign{title: 'This is just a stream recording, the final release of this talk is still being worked on.'}

0 comments on commit ce8b9f5

Please sign in to comment.