From a3df69ff5218cee132a6def9d860cd0276cc0cd4 Mon Sep 17 00:00:00 2001 From: Tyler Hoang Date: Wed, 6 May 2026 14:34:01 -0700 Subject: Add year review and inline diary ratings --- templates/detail.html | 80 +++++++++++++++++++++++++++++++++++++++------------ 1 file changed, 61 insertions(+), 19 deletions(-) (limited to 'templates/detail.html') diff --git a/templates/detail.html b/templates/detail.html index b937c6b..df3f96a 100644 --- a/templates/detail.html +++ b/templates/detail.html @@ -12,6 +12,20 @@ {{ film.title[:1] }} {% endif %} +
+
+ Shelf + {{ film.shelf|title }} +
+
+ Watched + {% if film.date_watched %}{{ film.date_watched }}{% else %}Not set{% endif %} +
+
+ Stars + {% if film.stars %}{% for _ in range(film.stars) %}✦{% endfor %}{% else %}Unstarred{% endif %} +
+
@@ -31,29 +45,57 @@ {% endif %}

-
- {% if film.stars %}{% for _ in range(film.stars) %}✦{% endfor %}{% endif %} - {% if film.date_watched %}{{ film.date_watched }}{% endif %} - {% if film.runtime %}{{ film.runtime }} min{% endif %} - {% if film.rewatch %}Rewatch{% if film.rewatch_count %} #{{ film.rewatch_count }}{% endif %}{% endif %} - {% if film.country %}{{ film.country }}{% endif %} - {% if film.language %}{{ film.language }}{% endif %} -
+
+
+

Watch log

+
+ {% if film.date_watched %}{{ film.date_watched }}{% endif %} + {% if film.runtime %}{{ film.runtime }} min{% endif %} + {% if film.rewatch %}Rewatch{% if film.rewatch_count %} #{{ film.rewatch_count }}{% endif %}{% endif %} + {% if film.watched_with %}With {{ film.watched_with }}{% endif %} + {% if film.context %}{{ film.context }}{% endif %} + {% if film.how_found %}{{ film.how_found }}{% endif %} +
+
- {% if film.context or film.how_found or film.watched_with %} -
- {% if film.context %}{{ film.context }}{% endif %} - {% if film.how_found %}{{ film.how_found }}{% endif %} - {% if film.watched_with %}With {{ film.watched_with }}{% endif %} -
- {% endif %} +
+

Production

+
+ {% if film.country %}{{ film.country }}{% endif %} + {% if film.language %}{{ film.language }}{% endif %} + {% if film.year %}{{ film.year }}{% endif %} + {% if film.tmdb_id %}TMDB {{ film.tmdb_id }}{% endif %} +
+
+
- {% if film.notes %} -
- {{ film.notes }} -
+ {% if tmdb_context %} +
+

Summary

+ {% if tmdb_context.tagline %} +

{{ tmdb_context.tagline }}

+ {% endif %} + {% if tmdb_context.overview %} +

{{ tmdb_context.overview }}

+ {% endif %} + {% if tmdb_context.cast %} +
+ Cast +

{{ tmdb_context.cast|join(", ") }}

+
+ {% endif %} +
{% endif %} +
+

Notes

+ {% if film.notes %} +
{{ film.notes }}
+ {% else %} +

No notes saved.

+ {% endif %} +
+
Edit {% if film.shelf == 'queue' %} -- cgit v1.3-2-g0d8e