diff --git a/server/templates/collection_list.htm b/server/templates/collection_list.htm index 1a9725b..ff8327f 100644 --- a/server/templates/collection_list.htm +++ b/server/templates/collection_list.htm @@ -15,12 +15,15 @@ Date Count To Watch + Actions Thumbnail Title Tags {% for collection in collection_list %} - + {% set api_uri = "/api/collection/" + collection.id|string %} + {% set fragment = "collection_element_" + collection.id|string %} + {% if collection.release_date %} {{ collection.release_date.strftime("%d.%m.%Y") }} @@ -30,6 +33,9 @@ {{ collection.count }} {{ collection.to_watch_count }} + + {{ macros.post_form(api_uri, "watch_in_order", collection.watch_in_order | tenary("false", "true"), collection.watch_in_order | tenary("watch in order", "watch random"), fragment) }} + {% set e = (collection.next_episode or collection.first_episode).element %} Thumbnail for {{ e.title }}