diff --git a/src/main/resources/templates/fragments/feed-entries.html b/src/main/resources/templates/fragments/feed-entries.html index b38a620..d9161d9 100644 --- a/src/main/resources/templates/fragments/feed-entries.html +++ b/src/main/resources/templates/fragments/feed-entries.html @@ -1,5 +1,5 @@ {#if entries.isEmpty()} -
+
@@ -8,46 +8,40 @@

Add artists to your collection to see their releases here

{#else} -
- - - - - - - - - - - - {#for entry in entries} - - - - - - - - {/for} - -
CoverArtistReleaseTypeDate
- - Cover - - {entry.artistName} - - {entry.title} - - - {#if entry.primaryType == 'Album'} - Album - {#else if entry.primaryType == 'Single'} - Single - {#else if entry.primaryType == 'EP'} - EP - {#else} - {entry.primaryType} - {/if} - {entry.firstReleaseDate}
+
+ {#for entry in entries} + +
+ Cover for {entry.title} +
+
+
{entry.artistName}
+
{entry.title}
+
+ {#if entry.primaryType == 'Album'} + Album + {#else if entry.primaryType == 'Single'} + Single + {#else if entry.primaryType == 'EP'} + EP + {#else} + {entry.primaryType} + {/if} + {#if entry.firstReleaseDate} + {entry.firstReleaseDate} + {/if} +
+
+
+ {/for}
{/if} diff --git a/src/main/resources/templates/fragments/search-results.html b/src/main/resources/templates/fragments/search-results.html index 681aaac..ee6feb9 100644 --- a/src/main/resources/templates/fragments/search-results.html +++ b/src/main/resources/templates/fragments/search-results.html @@ -1,18 +1,18 @@ -
+
{#if artists.isEmpty()} -
No artists found
+
No artists found
{#else} {#for artist in artists} -
-
-
- {artist.name} +
+
+
+ {artist.name} {#if artist.type} {artist.type} {/if}
{#if artist.disambiguation} -
{artist.disambiguation}
+
{artist.disambiguation}
{/if} {#if artist.area}
{artist.area}
@@ -20,12 +20,13 @@
{#if artist.alreadyTracked} - + Added {#else} -