Add metadata section to artist page

This commit is contained in:
Alex Cabal 2025-03-07 11:11:46 -06:00
parent 34fd71e55a
commit 9eff02db87

View file

@ -59,8 +59,18 @@ catch(Exceptions\ArtistNotFoundException){
<?= Template::ArtworkList(artworks: $artworks) ?>
<? if($isAdminView){ ?>
<h2>Admin</h2>
<p><a href="<?= $artist->DeleteUrl ?>">Delete artist and reassign artwork</a></p>
<h2>Metadata</h2>
<p>
<a href="<?= $artist->DeleteUrl ?>">Delete artist</a>
</p>
<table class="admin-table">
<tbody>
<tr>
<td>Artist ID:</td>
<td><?= $artist->ArtistId ?></td>
</tr>
</tbody>
</table>
<? } ?>
</section>
</main>