mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-31 10:18:55 +00:00
Add/fix CouchPotato icons to themes.
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
2016-05-12 DariusIII
|
||||
* Fix: Add/fix CouchPotato icons to themes.
|
||||
* Fix: Remove derefferer links from CouchPotato url in Gamma theme.
|
||||
* Fix: Fix nntmux_schema_fi for misc cats
|
||||
* Fix: Wrong path to postprocess.php when using sequential in tmux
|
||||
|
||||
@@ -320,14 +320,14 @@
|
||||
{/if}
|
||||
{if $cpurl != '' && $cpapi != ''}
|
||||
<a
|
||||
class="sendtocouch"
|
||||
class="sendtocouch fa fa-bed"
|
||||
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"
|
||||
><img
|
||||
src="{$smarty.const.WWW_THEMES}/shared/images/icons/couch.png"></a>
|
||||
title="Add to CouchPotato">
|
||||
|
||||
</a>
|
||||
{/if}
|
||||
{if isset($isadmin)}
|
||||
<input type="button"
|
||||
|
||||
@@ -240,6 +240,9 @@
|
||||
id="guid{$release.guid}"></i> Send to
|
||||
Queue
|
||||
</button>{/if}
|
||||
{if !empty($cpurl) && !empty($cpapi)}
|
||||
<a class="sendtocouch fa fa-bed" target="blackhole" href="javascript:;" rel="{$cpurl}/api/{$cpapi}/movie.add/?identifier=tt{$release.imdbid}&title={$movie.title}" name="CP{$release.imdbid}" title="Add to CouchPotato"></a>
|
||||
{/if}
|
||||
{if $weHasVortex}
|
||||
<button type="button"
|
||||
class="btn btn-primary btn-sm btn-transparent vortexsend">
|
||||
|
||||
@@ -177,7 +177,7 @@
|
||||
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-share"></i></span>
|
||||
><i class="fa fa-bed"></i></span>
|
||||
{/if}
|
||||
{if !empty($mfailed[$m@index])}
|
||||
<span class="btn btn-default btn-xs"
|
||||
|
||||
@@ -245,6 +245,9 @@
|
||||
id="guid{$release.guid}"></i> Send to
|
||||
Queue
|
||||
</button>{/if}
|
||||
{if !empty($cpurl) && !empty($cpapi)}
|
||||
<a class="sendtocouch fa fa-bed" target="blackhole" href="javascript:;" rel="{$cpurl}/api/{$cpapi}/movie.add/?identifier=tt{$release.imdbid}&title={$movie.title}" name="CP{$release.imdbid}" title="Add to CouchPotato"></a>
|
||||
{/if}
|
||||
{if $weHasVortex}
|
||||
<button type="button"
|
||||
class="btn btn-primary btn-sm btn-transparent vortexsend">
|
||||
|
||||
@@ -161,7 +161,7 @@
|
||||
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-share"></i></span>
|
||||
><i class="fa fa-bed"></i></span>
|
||||
{/if}
|
||||
{if !empty($mfailed[$m@index])}
|
||||
<span class="btn btn-default btn-xs" title="This release has failed to download for some users">
|
||||
|
||||
@@ -97,6 +97,19 @@ jQuery(function($){
|
||||
return false;
|
||||
});
|
||||
|
||||
$('.sendtocouch').click(function (e) {
|
||||
e.preventDefault();
|
||||
$.get($(this).attr('rel'));
|
||||
|
||||
$.pnotify({
|
||||
title: 'ADDED TO COUCHPOTATO!',
|
||||
text: 'Its now on your wanted list! ^_^',
|
||||
type: 'info',
|
||||
animate_speed: 'fast',
|
||||
icon: 'fa fa-info-sign'
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
$('.vortexsend').click(function(event)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user