« get me outta code hell

content: show chronology links in artist tooltips - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2024-06-17 21:20:28 -0300
committer(quasar) nebula <qznebula@protonmail.com>2024-06-18 22:56:15 -0300
commitb31764546474cff4e1b475587b3e4a2967473ce0 (patch)
treef8efff7d96adad6a77569351192c8dfbaad50e77
parent171784feb69f46c6820e65612f9a58a7b9ca7c4e (diff)
content: show chronology links in artist tooltips
-rw-r--r--src/content/dependencies/generateContributionList.js1
-rw-r--r--src/content/dependencies/generateReleaseInfoContributionsLine.js4
2 files changed, 4 insertions, 1 deletions
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',
             }))),
     });