|
|
|
@ -166,6 +166,18 @@
|
|
|
|
|
<h4>{{title}} ({{year}})</h4>
|
|
|
|
|
</a>
|
|
|
|
|
{{/if_eq}}
|
|
|
|
|
{{#if_eq type "tv"}}
|
|
|
|
|
{{#if available}}
|
|
|
|
|
<span class="label label-success">Available</span>
|
|
|
|
|
{{else}}
|
|
|
|
|
<span class="label label-danger">Not Available</span>
|
|
|
|
|
{{/if}}
|
|
|
|
|
{{#if requested}}
|
|
|
|
|
<span class="label label-success">Requested</span>
|
|
|
|
|
{{/if}}
|
|
|
|
|
<br />
|
|
|
|
|
<br />
|
|
|
|
|
{{/if_eq}}
|
|
|
|
|
</div>
|
|
|
|
|
<p>{{overview}}</p>
|
|
|
|
|
</div>
|
|
|
|
@ -176,6 +188,7 @@
|
|
|
|
|
{{#if_eq available true}}
|
|
|
|
|
<button style="text-align: right" class="btn btn-success-outline disabled" disabled><i class="fa fa-check"></i> @UI.Search_Available</button>
|
|
|
|
|
<br />
|
|
|
|
|
<br />
|
|
|
|
|
<a style="text-align: right" class="btn btn-sm btn-primary-outline" href="{{url}}" target="_blank"><i class="fa fa-eye"></i> @UI.Search_ViewInPlex</a>
|
|
|
|
|
{{else}}
|
|
|
|
|
{{#if_eq requested true}}
|
|
|
|
@ -189,7 +202,6 @@
|
|
|
|
|
{{#if_eq tvFullyAvailable true}}
|
|
|
|
|
@*//TODO Not used yet*@
|
|
|
|
|
<button style="text-align: right" class="btn btn-success-outline disabled" disabled><i class="fa fa-check"></i> @UI.Search_Available</button><br />
|
|
|
|
|
<a style="text-align: right" class="btn btn-sm btn-primary-outline" href="{{url}}" target="_blank"><i class="fa fa-eye"></i> @UI.Search_ViewInPlex</a>
|
|
|
|
|
{{else}}
|
|
|
|
|
<div class="dropdown">
|
|
|
|
|
<button id="{{id}}" class="btn btn-primary-outline dropdown-toggle" type="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
|
|
|
|
@ -204,6 +216,10 @@
|
|
|
|
|
<li><a id="EpisodeSelect" data-identifier="{{id}}" data-toggle="modal" data-target="#episodesModal" href="#">@UI.Search_SelectEpisode...</a></li>
|
|
|
|
|
</ul>
|
|
|
|
|
</div>
|
|
|
|
|
{{#if available}}
|
|
|
|
|
<br />
|
|
|
|
|
<a style="text-align: right" class="btn btn-sm btn-primary-outline" href="{{url}}" target="_blank"><i class="fa fa-eye"></i> @UI.Search_ViewInPlex</a>
|
|
|
|
|
{{/if}}
|
|
|
|
|
{{/if_eq}}
|
|
|
|
|
{{/if_eq}}
|
|
|
|
|
|
|
|
|
|