mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-30 09:48:55 +00:00
Add "Add to Couchpotato" button to movies view.
This commit is contained in:
@@ -150,6 +150,15 @@
|
||||
title="Send to my Queue"><i
|
||||
class="fa fa-send"></i></span>
|
||||
{/if}
|
||||
{if $cpurl != '' && $cpapi != ''}
|
||||
<span class="btn btn-hover btn-default btn-xs sendtocouch text-muted"
|
||||
target="blackhole"
|
||||
href="javascript:"
|
||||
rel="{$cpurl}/api/{$cpapi}/movie.add/?identifier=tt{$result.imdbid}&title={$result.title}"
|
||||
name="CP{$result.imdbid}"
|
||||
title="Add to CouchPotato"
|
||||
><i class="fa fa-send-o"></i></span>
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
@@ -249,6 +258,15 @@
|
||||
title="Send to my Queue"><i
|
||||
class="fa fa-send"></i></span>
|
||||
{/if}
|
||||
{if $cpurl != '' && $cpapi != ''}
|
||||
<span class="btn btn-hover btn-default btn-xs sendtocouch text-muted"
|
||||
target="blackhole"
|
||||
href="javascript:"
|
||||
rel="{$cpurl}/api/{$cpapi}/movie.add/?identifier=tt{$result.imdbid}&title={$result.title}"
|
||||
name="CP{$result.imdbid}"
|
||||
title="Add to CouchPotato"
|
||||
><i class="fa fa-send-o"></i></span>
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
@@ -150,6 +150,15 @@
|
||||
title="Send to my Queue"><i
|
||||
class="fa fa-send"></i></span>
|
||||
{/if}
|
||||
{if $cpurl != '' && $cpapi != ''}
|
||||
<span class="btn btn-hover btn-default btn-xs sendtocouch text-muted"
|
||||
target="blackhole"
|
||||
href="javascript:"
|
||||
rel="{$cpurl}/api/{$cpapi}/movie.add/?identifier=tt{$result.imdbid}&title={$result.title}"
|
||||
name="CP{$result.imdbid}"
|
||||
title="Add to CouchPotato"
|
||||
><i class="fa fa-send-o"></i></span>
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
@@ -249,6 +258,15 @@
|
||||
title="Send to my Queue"><i
|
||||
class="fa fa-send"></i></span>
|
||||
{/if}
|
||||
{if $cpurl != '' && $cpapi != ''}
|
||||
<span class="btn btn-hover btn-default btn-xs sendtocouch text-muted"
|
||||
target="blackhole"
|
||||
href="javascript:"
|
||||
rel="{$cpurl}/api/{$cpapi}/movie.add/?identifier=tt{$result.imdbid}&title={$result.title}"
|
||||
name="CP{$result.imdbid}"
|
||||
title="Add to CouchPotato"
|
||||
><i class="fa fa-send-o"></i></span>
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
Reference in New Issue
Block a user