mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
fixes #548 - Add provider links to edit page
This commit is contained in:
parent
6eff327675
commit
bc70b9ed6e
3 changed files with 172 additions and 20 deletions
|
@ -991,9 +991,14 @@
|
|||
if (item.Type == "MusicArtist" || item.Type == "Artist") {
|
||||
links.push('<a class="textlink" href="http://musicbrainz.org/artist/' + providerIds.Musicbrainz + '" target="_blank">MusicBrainz</a>');
|
||||
} else {
|
||||
links.push('<a class="textlink" href="http://musicbrainz.org/release/' + providerIds.Musicbrainz + '" target="_blank">MusicBrainz</a>');
|
||||
links.push('<a class="textlink" href="http://musicbrainz.org/release/' + providerIds.Musicbrainz + '" target="_blank">MusicBrainz Release</a>');
|
||||
}
|
||||
|
||||
}
|
||||
if (providerIds.MusicBrainzReleaseGroup) {
|
||||
|
||||
links.push('<a class="textlink" href="http://musicbrainz.org/release-group/' + providerIds.MusicBrainzReleaseGroup + '" target="_blank">MusicBrainz Release Group</a>');
|
||||
|
||||
}
|
||||
if (providerIds.Gamesdb)
|
||||
links.push('<a class="textlink" href="http://thegamesdb.net/game/' + providerIds.Gamesdb + '" target="_blank">GamesDB</a>');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue