From bc0df9c764f27118d9d6b475e85f38b7e235db35 Mon Sep 17 00:00:00 2001 From: Tyler Hoang Date: Sat, 9 May 2026 01:45:13 -0700 Subject: Show ratings inline with year/director using brand logos IMDb, Rotten Tomatoes, and Metacritic scores now appear on the same row as the subtitle with SVG brand logos instead of plain text chips. Co-Authored-By: Claude Sonnet 4.6 --- templates/detail.html | 61 ++++++++++++++++++++++++++------------------------- 1 file changed, 31 insertions(+), 30 deletions(-) (limited to 'templates') diff --git a/templates/detail.html b/templates/detail.html index 5bf4b3f..9c558f7 100644 --- a/templates/detail.html +++ b/templates/detail.html @@ -51,39 +51,40 @@ {% if film.original_title %}

{{ film.original_title }}

{% endif %} -

- {% if film.year %}{{ film.year }}{% endif %} - {% set directors = split_credit_names(film.director) %} - {% if directors %} - {% if film.year %} · {% endif %} - {% for director in directors %} - {{ director }}{% if not loop.last %}, {% endif %} - {% endfor %} - {% endif %} -

- - {% if ratings %} -
- {% if ratings.imdb %} -
- IMDb - {{ ratings.imdb }} -
- {% endif %} - {% if ratings.rt %} -
- Rotten Tomatoes - {{ ratings.rt }} -
- {% endif %} - {% if ratings.metacritic %} -
- Metacritic - {{ ratings.metacritic }} +
+

+ {% if film.year %}{{ film.year }}{% endif %} + {% set directors = split_credit_names(film.director) %} + {% if directors %} + {% if film.year %} · {% endif %} + {% for director in directors %} + {{ director }}{% if not loop.last %}, {% endif %} + {% endfor %} + {% endif %} +

+ {% if ratings %} +
+ {% if ratings.imdb %} + + IMDb + {{ ratings.imdb }} + + {% endif %} + {% if ratings.rt %} + + Rotten Tomatoes + {{ ratings.rt }} + + {% endif %} + {% if ratings.metacritic %} + + Metacritic + {{ ratings.metacritic }} + + {% endif %}
{% endif %}
- {% endif %}
-- cgit v1.3-2-g0d8e