« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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',
             }))),
     });