-
{entry.artistName}
-
{entry.title}
-
+ onerror="this.parentElement.innerHTML='
No Cover
'">
+
+
+
{entry.artistName}
+
{entry.title}
+
{#if entry.primaryType == 'Album'}
Album
{#else if entry.primaryType == 'Single'}
@@ -28,7 +30,7 @@
{entry.primaryType}
{/if}
{#if entry.firstReleaseDate}
- {entry.firstReleaseDate}
+ {entry.firstReleaseDate}
{/if}
diff --git a/src/main/resources/templates/fragments/search-results.html b/src/main/resources/templates/fragments/search-results.html
index 3ab6cf2..46771cf 100644
--- a/src/main/resources/templates/fragments/search-results.html
+++ b/src/main/resources/templates/fragments/search-results.html
@@ -1,39 +1,33 @@
-
+
{#if artists.isEmpty()}
-
No artists found
+
No artists found
{#else}
{#for artist in artists}
-
-
-
+
+
+
{artist.name}
{#if artist.type}
{artist.type}
{/if}
{#if artist.disambiguation}
-
{artist.disambiguation}
+
{artist.disambiguation}
{/if}
{#if artist.area}
-
{artist.area}
+
{artist.area}
{/if}
{#if artist.alreadyTracked}
-
-
- Added
-
+
✓ Added
{#else}
-
+ onclick="document.getElementById('search-input').value=''">+ Add
{/if}
diff --git a/src/main/resources/templates/layouts/base.html b/src/main/resources/templates/layouts/base.html
index 9f95a98..e9d9dc3 100644
--- a/src/main/resources/templates/layouts/base.html
+++ b/src/main/resources/templates/layouts/base.html
@@ -26,8 +26,8 @@
}
-
-