mirror of
https://github.com/standardebooks/web.git
synced 2025-07-08 07:40:39 -04:00
Add metadata section to artist page
This commit is contained in:
parent
34fd71e55a
commit
9eff02db87
1 changed files with 12 additions and 2 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue