diff --git a/couchpotato/core/plugins/movie/static/movie.css b/couchpotato/core/plugins/movie/static/movie.css index 55dce2e3..9b82598e 100644 --- a/couchpotato/core/plugins/movie/static/movie.css +++ b/couchpotato/core/plugins/movie/static/movie.css @@ -282,7 +282,7 @@ width: 130px; } .movies .options .table .name { - width: 370px; + width: 350px; overflow: hidden; text-align: left; padding: 0 10px; diff --git a/couchpotato/core/plugins/movie/static/movie.js b/couchpotato/core/plugins/movie/static/movie.js index 83e6eb94..bbe526df 100644 --- a/couchpotato/core/plugins/movie/static/movie.js +++ b/couchpotato/core/plugins/movie/static/movie.js @@ -280,7 +280,12 @@ var ReleaseAction = new Class({ Array.each(self.movie.data.releases, function(release){ var status = Status.get(release.status_id), - quality = Quality.getProfile(release.quality_id) + quality = Quality.getProfile(release.quality_id), + info = release.info; + + try { + var details_url = info.filter(function(item){ return item.identifier == 'detail_url' }).pick().value; + } catch(e){} new Element('div', { 'class': 'item ' + status.identifier @@ -291,6 +296,10 @@ var ReleaseAction = new Class({ new Element('span.age', {'text': self.get(release, 'age')}), new Element('span.score', {'text': self.get(release, 'score')}), new Element('span.provider', {'text': self.get(release, 'provider')}), + details_url ? new Element('a.info.icon', { + 'href': details_url, + 'target': '_blank' + }) : null, new Element('a.download.icon', { 'events': { 'click': function(e){ diff --git a/couchpotato/static/images/icon.info.png b/couchpotato/static/images/icon.info.png new file mode 100644 index 00000000..12cd1aef Binary files /dev/null and b/couchpotato/static/images/icon.info.png differ diff --git a/couchpotato/static/style/main.css b/couchpotato/static/style/main.css index 55246c7d..467e1f8b 100644 --- a/couchpotato/static/style/main.css +++ b/couchpotato/static/style/main.css @@ -153,6 +153,7 @@ body > .spinner, .mask{ .icon.refresh { background-image: url('../images/icon.refresh.png'); } .icon.rating { background-image: url('../images/icon.rating.png'); } .icon.files { background-image: url('../images/icon.files.png'); } +.icon.info { background-image: url('../images/icon.info.png'); } /*** Navigation ***/ .header {