diff options
Diffstat (limited to 'src/content/dependencies')
3 files changed, 19 insertions, 1 deletions
diff --git a/src/content/dependencies/generateAdditionalFilesListChunk.js b/src/content/dependencies/generateAdditionalFilesListChunk.js index 18d5b894..37f0e3ce 100644 --- a/src/content/dependencies/generateAdditionalFilesListChunk.js +++ b/src/content/dependencies/generateAdditionalFilesListChunk.js @@ -98,6 +98,14 @@ export default { relations.artistCredit.setSlots({ normalStringKey: entryCapsule + '.credit', + + showAnnotation: true, + showExternalLinks: true, + showChronology: true, + + chronologyKind: + // Sorry, lol + slots.string.replace(/s$/, ''), }); if (!html.isBlank(relations.artistCredit)) { diff --git a/src/content/dependencies/generateContributionTooltipChronologySection.js b/src/content/dependencies/generateContributionTooltipChronologySection.js index 0cabc877..58bbddd0 100644 --- a/src/content/dependencies/generateContributionTooltipChronologySection.js +++ b/src/content/dependencies/generateContributionTooltipChronologySection.js @@ -3,7 +3,15 @@ function getName(thing) { return null; } - if (thing.isArtwork || thing.isMusicVideo) { + if (thing.isAdditionalFile) { + return thing.thing.name; + } + + if (thing.isArtwork) { + return thing.thing.name; + } + + if (thing.isMusicVideo) { return thing.thing.name; } diff --git a/src/content/dependencies/linkAnythingMan.js b/src/content/dependencies/linkAnythingMan.js index 6efa5fe1..d37c47e0 100644 --- a/src/content/dependencies/linkAnythingMan.js +++ b/src/content/dependencies/linkAnythingMan.js @@ -11,6 +11,8 @@ export default { ? relation('linkTrack', thing) : thing.isMusicVideo ? relation('linkAnythingMan', thing.thing) + : thing.isAdditionalFile + ? relation('linkAnythingMan', thing.thing) : null), }), |