Make artist name linkable to MusicBrainz artist page

This commit is contained in:
2026-07-06 13:12:52 +02:00
parent 7933abc5cf
commit 20ebd834ff
@@ -15,14 +15,14 @@
<th>Artist</th> <th>Artist</th>
<th>Since</th> <th>Since</th>
<th>Release Types</th> <th>Release Types</th>
<th style="width:6rem">Actions</th> <th style="width:6rem">Remove</th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
{#for artist in artists} {#for artist in artists}
<tr style="transition:background 0.15s" onmouseover="this.style.background='var(--fallback-b2,oklch(var(--b2)/1))'" onmouseout="this.style.background=''"> <tr style="transition:background 0.15s" onmouseover="this.style.background='var(--fallback-b2,oklch(var(--b2)/1))'" onmouseout="this.style.background=''">
<td> <td>
<div style="font-weight:500">{artist.name}</div> <a href="https://musicbrainz.org/artist/{artist.mbid}" target="_blank" rel="noopener noreferrer" style="font-weight:500;text-decoration:none;color:inherit">{artist.name}</a>
{#if artist.disambiguation} {#if artist.disambiguation}
<div class="text-xs text-base-content/50">{artist.disambiguation}</div> <div class="text-xs text-base-content/50">{artist.disambiguation}</div>
{/if} {/if}