|
|
@ -107,7 +107,7 @@
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Movie and TV Results template -->
|
|
|
|
<!-- Movie and TV Results template -->
|
|
|
|
<script id="search-template" type="text/x-handlebars-template">
|
|
|
|
<script id="search-template" type="text/x-handlebars-template">
|
|
|
|
<div class="row">
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-sm-2">
|
|
|
|
<div class="col-sm-2">
|
|
|
|
|
|
|
|
|
|
|
@ -175,23 +175,27 @@
|
|
|
|
@*//TODO Not used yet*@
|
|
|
|
@*//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 />
|
|
|
|
<button style="text-align: right" class="btn btn-success-outline disabled" disabled><i class="fa fa-check"></i> @UI.Search_Available</button><br />
|
|
|
|
{{else}}
|
|
|
|
{{else}}
|
|
|
|
<div class="dropdown">
|
|
|
|
{{#if_eq enableTvRequestsForOnlySeries true}}
|
|
|
|
<button id="{{id}}" class="btn {{#if available}}btn-success-outline{{else}}btn-primary-outline{{/if}} dropdown-toggle" type="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
|
|
|
|
<button id="{{id}}" style="text-align: right" class="btn {{#if available}}btn-success-outline{{else}}btn-primary-outline{{/if}} btn-primary-outline requestTv" season-select="0" type="button"><i class="fa fa-plus"></i> @UI.Search_Request</button>
|
|
|
|
<i class="fa fa-plus"></i> {{#if available}}@UI.Search_Available{{else}}@UI.Search_Request {{/if}}
|
|
|
|
{{else}}
|
|
|
|
<span class="caret"></span>
|
|
|
|
<div class="dropdown">
|
|
|
|
</button>
|
|
|
|
<button id="{{id}}" class="btn {{#if available}}btn-success-outline{{else}}btn-primary-outline{{/if}} dropdown-toggle" type="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
|
|
|
|
<ul class="dropdown-menu" aria-labelledby="dropdownMenu1">
|
|
|
|
<i class="fa fa-plus"></i> {{#if available}}@UI.Search_Available{{else}}@UI.Search_Request {{/if}}
|
|
|
|
<li><a id="{{id}}" season-select="0" class="dropdownTv " href="#">@UI.Search_AllSeasons</a></li>
|
|
|
|
<span class="caret"></span>
|
|
|
|
{{#if_eq disableTvRequestsBySeason false}}
|
|
|
|
</button>
|
|
|
|
<li><a id="{{id}}" season-select="1" class="dropdownTv" href="#">@UI.Search_FirstSeason</a></li>
|
|
|
|
<ul class="dropdown-menu" aria-labelledby="dropdownMenu1">
|
|
|
|
<li><a id="{{id}}" season-select="2" class="dropdownTv" href="#">@UI.Search_LatestSeason</a></li>
|
|
|
|
<li><a id="{{id}}" season-select="0" class="dropdownTv " href="#">@UI.Search_AllSeasons</a></li>
|
|
|
|
<li><a id="SeasonSelect" data-identifier="{{id}}" data-toggle="modal" data-target="#seasonsModal" href="#">@UI.Search_SelectSeason...</a></li>
|
|
|
|
{{#if_eq disableTvRequestsBySeason false}}
|
|
|
|
{{/if_eq}}
|
|
|
|
<li><a id="{{id}}" season-select="1" class="dropdownTv" href="#">@UI.Search_FirstSeason</a></li>
|
|
|
|
{{#if_eq disableTvRequestsByEpisode false}}
|
|
|
|
<li><a id="{{id}}" season-select="2" class="dropdownTv" href="#">@UI.Search_LatestSeason</a></li>
|
|
|
|
<li><a id="EpisodeSelect" data-identifier="{{id}}" data-toggle="modal" data-target="#episodesModal" href="#">@UI.Search_SelectEpisode...</a></li>
|
|
|
|
<li><a id="SeasonSelect" data-identifier="{{id}}" data-toggle="modal" data-target="#seasonsModal" href="#">@UI.Search_SelectSeason...</a></li>
|
|
|
|
{{/if_eq}}
|
|
|
|
{{/if_eq}}
|
|
|
|
</ul>
|
|
|
|
{{#if_eq disableTvRequestsByEpisode false}}
|
|
|
|
</div>
|
|
|
|
<li><a id="EpisodeSelect" data-identifier="{{id}}" data-toggle="modal" data-target="#episodesModal" href="#">@UI.Search_SelectEpisode...</a></li>
|
|
|
|
|
|
|
|
{{/if_eq}}
|
|
|
|
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
{{/if_eq}}
|
|
|
|
{{#if available}}
|
|
|
|
{{#if available}}
|
|
|
|
<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>
|
|
|
|
<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>
|
|
|
|