Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Show EPG poster in detailed view
  • Loading branch information
tunip authored and perexg committed Sep 23, 2016
1 parent f2a91b8 commit 59d93dd
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/webui/static/app/epg.js
Expand Up @@ -118,6 +118,9 @@ tvheadend.epgDetails = function(event) {
content += '</div>'; /* x-epg-left */
content += '<div class="x-epg-bottom">';
}
if (event.image != null && event.image.length > 0) {
content += '<img class="x-epg-image" src="' + event.image + '">';
}
content += '<hr class="x-epg-hr"/>';
if (event.summary)
content += '<div class="x-epg-summary">' + event.summary + '</div>';
Expand All @@ -139,7 +142,7 @@ tvheadend.epgDetails = function(event) {
if (g1 || g2)
genre.push((g1 ? '[' + g1 + '] ' : '') + g2);
});
content += '<div class="x-epg-meta"><span class="x-epg-prefix">' + _('Content Type') + ':</span><span class="x-epg-body">' + genre.join(', ') + '</span></div>';
content += '<div class="x-epg-meta"><span class="x-epg-prefix">' + _('Content Type') + ':</span><span class="x-epg-genre">' + genre.join(', ') + '</span></div>';
}
var tags = [];
if (event.hd > 1)
Expand Down Expand Up @@ -405,6 +408,7 @@ tvheadend.epg = function() {
{ name: 'summary' },
{ name: 'description' },
{ name: 'episodeOnscreen' },
{ name: 'image' },
{
name: 'start',
type: 'date',
Expand Down

0 comments on commit 59d93dd

Please sign in to comment.