diff --git a/server/templates/collection_element.htm b/server/templates/collection_element.htm index 726c6a0..ce79036 100644 --- a/server/templates/collection_element.htm +++ b/server/templates/collection_element.htm @@ -112,6 +112,7 @@

Episodes

{{ macros.media_thumbnail_list( links=media_links, + link_collection=False, ) }} {% endif %} diff --git a/server/templates/collection_episodes.htm b/server/templates/collection_episodes.htm index 7fa8305..19a9b1e 100644 --- a/server/templates/collection_episodes.htm +++ b/server/templates/collection_episodes.htm @@ -14,6 +14,7 @@

Episodes

{{ macros.media_thumbnail_list( links=media_links, + link_collection=False, ) }} diff --git a/server/templates/dashboard.htm b/server/templates/dashboard.htm index c706def..ca010bb 100644 --- a/server/templates/dashboard.htm +++ b/server/templates/dashboard.htm @@ -20,6 +20,7 @@ {% if links_from_pinned_collections %} {{ macros.media_thumbnail_list( links=links_from_pinned_collections, + link_collection=True, ) }} {% else %} No pinned collections with episodes to watch found. See pinned collections diff --git a/server/templates/macros.htm b/server/templates/macros.htm index 572928f..3436d2c 100644 --- a/server/templates/macros.htm +++ b/server/templates/macros.htm @@ -208,6 +208,9 @@ top: 0; left: 0; } + .thumbnail_view > .episode_info[href] { + --box-color: rgba(153, 50, 204, .8); + } .thumbnail_view > .additional_info { top: 0; right: 0; @@ -374,6 +377,7 @@ {% macro media_thumbnail_view( element=None, link=None, + link_collection=True, ) %} {% set element = link.element if link else element %}
@@ -387,6 +391,9 @@ {% if link and (link.season or link.episode) %} {%- if link.season != 0 -%} s{{ "%02d" % link.season }} @@ -432,6 +439,7 @@ {% macro media_thumbnail_list( elements=None, links=None, + link_collection=True, ) %} {%- set l = elements or links -%}
@@ -440,6 +448,7 @@ {{ media_thumbnail_view( element=o if not links else None, link=o if links else None, + link_collection=link_collection, ) }} {% endfor %}