Skip to content

Commit

Permalink
Subtle link/indicator when a chapter has an image attached
Browse files Browse the repository at this point in the history
  • Loading branch information
jerodsanto committed Aug 16, 2024
1 parent ae0ba14 commit 0cb4a39
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/changelog_web/templates/episode/show.html.heex
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,9 @@
<% else %>
<%= chapter.title %>
<% end %>
<%= if chapter.image_url do %>
<a href={chapter.image_url} title={"View image for chapter #{index}"} rel="external">👀</a>
<% end %>
</td>
<td style="width: 5%"><%= TimeView.duration(chapter.ends_at - chapter.starts_at) %></td>
</tr>
Expand Down

0 comments on commit 0cb4a39

Please sign in to comment.