diff --git a/PlexRequests.UI/Content/search.js b/PlexRequests.UI/Content/search.js index 310ba27fe..cab9171e1 100644 --- a/PlexRequests.UI/Content/search.js +++ b/PlexRequests.UI/Content/search.js @@ -467,7 +467,8 @@ $(function () { available: result.available, episodes: result.episodes, tvFullyAvailable: result.tvFullyAvailable, - url: result.plexUrl + url: result.plexUrl, + tvPartialAvailable : result.tvPartialAvailable }; return context; } diff --git a/PlexRequests.UI/Views/Search/Index.cshtml b/PlexRequests.UI/Views/Search/Index.cshtml index 950a7f06d..b8e9f3bfc 100644 --- a/PlexRequests.UI/Views/Search/Index.cshtml +++ b/PlexRequests.UI/Views/Search/Index.cshtml @@ -166,6 +166,18 @@

{{title}} ({{year}})

{{/if_eq}} + {{#if_eq type "tv"}} + {{#if available}} + Available + {{else}} + Not Available + {{/if}} + {{#if requested}} + Requested + {{/if}} +
+
+ {{/if_eq}}

{{overview}}

@@ -176,6 +188,7 @@ {{#if_eq available true}}
+
@UI.Search_ViewInPlex {{else}} {{#if_eq requested true}} @@ -189,7 +202,6 @@ {{#if_eq tvFullyAvailable true}} @*//TODO Not used yet*@
- @UI.Search_ViewInPlex {{else}} + {{#if available}} +
+ @UI.Search_ViewInPlex + {{/if}} {{/if_eq}} {{/if_eq}}