From b31764546474cff4e1b475587b3e4a2967473ce0 Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Mon, 17 Jun 2024 21:20:28 -0300 Subject: content: show chronology links in artist tooltips --- src/content/dependencies/generateContributionList.js | 1 + src/content/dependencies/generateReleaseInfoContributionsLine.js | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'src/content') diff --git a/src/content/dependencies/generateContributionList.js b/src/content/dependencies/generateContributionList.js index 0c4ef87a..b52afc6e 100644 --- a/src/content/dependencies/generateContributionList.js +++ b/src/content/dependencies/generateContributionList.js @@ -18,6 +18,7 @@ export default { contributionLink.slots({ showIcons: true, showContribution: true, + showChronology: true, preventWrapping: false, iconMode: 'tooltip', })))), diff --git a/src/content/dependencies/generateReleaseInfoContributionsLine.js b/src/content/dependencies/generateReleaseInfoContributionsLine.js index 2e6c4709..3aa51127 100644 --- a/src/content/dependencies/generateReleaseInfoContributionsLine.js +++ b/src/content/dependencies/generateReleaseInfoContributionsLine.js @@ -21,6 +21,7 @@ export default { showContribution: {type: 'boolean', default: true}, showIcons: {type: 'boolean', default: true}, + showChronology: {type: 'boolean', default: true}, }, generate(relations, slots, {html, language}) { @@ -33,8 +34,9 @@ export default { language.formatConjunctionList( relations.contributionLinks.map(link => link.slots({ - showContribution: slots.showContribution, showIcons: slots.showIcons, + showContribution: slots.showContribution, + showChronology: slots.showChronology, iconMode: 'tooltip', }))), }); -- cgit 1.3.0-6-gf8a5