1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

display more info link in notifications

This commit is contained in:
Luke Pulverenti 2013-07-17 11:19:00 -04:00
parent a276d5521c
commit dd82890064

View file

@ -93,7 +93,7 @@
return; return;
} }
if (notifications.filter(function(n) { if (notifications.filter(function (n) {
return !n.IsRead; return !n.IsRead;
@ -114,7 +114,7 @@
} }
elem.html(html); elem.html(html).trigger('create');
} }
function getNotificationHtml(notification) { function getNotificationHtml(notification) {
@ -139,6 +139,10 @@
html += '<p>' + notification.Description + '</p>'; html += '<p>' + notification.Description + '</p>';
} }
if (notification.Url) {
html += '<p><a href="' + notification.Url + '" target="_blank">More information</a></p>';
}
html += '</div>'; html += '</div>';
html += '</div>'; html += '</div>';