diff --git a/components/cards/LazyBookCard.vue b/components/cards/LazyBookCard.vue index 582bef58..74778dc5 100644 --- a/components/cards/LazyBookCard.vue +++ b/components/cards/LazyBookCard.vue @@ -7,9 +7,12 @@
-

- {{ displayTitle }} -

+
+

+ {{ displayTitle }} +

+ +

{{ displayLineTwo || ' ' }}

{{ displaySortLine }}

@@ -341,6 +344,9 @@ export default { isInvalid() { return this._libraryItem.isInvalid }, + isExplicit() { + return !!this.mediaMetadata.explicit + }, numMissingParts() { if (this.isPodcast) return 0 return this.media.numMissingParts diff --git a/components/tables/podcast/LatestEpisodeRow.vue b/components/tables/podcast/LatestEpisodeRow.vue index 53f3dfa9..1fbf8d3d 100644 --- a/components/tables/podcast/LatestEpisodeRow.vue +++ b/components/tables/podcast/LatestEpisodeRow.vue @@ -6,8 +6,11 @@
-
- {{ podcast.metadata.title }} +
+
+ {{ podcast.metadata.title }} +
+

{{ $dateDistanceFromNow(publishedAt) }}

diff --git a/components/widgets/ExplicitIndicator.vue b/components/widgets/ExplicitIndicator.vue new file mode 100644 index 00000000..e95d87d8 --- /dev/null +++ b/components/widgets/ExplicitIndicator.vue @@ -0,0 +1,50 @@ + + + diff --git a/pages/item/_id/index.vue b/pages/item/_id/index.vue index 6031fcbe..be22b9e7 100644 --- a/pages/item/_id/index.vue +++ b/pages/item/_id/index.vue @@ -28,7 +28,10 @@
-

{{ title }}

+
+

{{ title }}

+ +

{{ subtitle }}

@@ -436,6 +439,9 @@ export default { isInvalid() { return this.libraryItem.isInvalid }, + isExplicit() { + return !!this.mediaMetadata.explicit + }, showPlay() { return !this.isMissing && !this.isInvalid && (this.numTracks || this.episodes.length) },