From 589273c5e1d63e5f68ecedd68c9d4b49c36b25f4 Mon Sep 17 00:00:00 2001
From: "(quasar) nebula"
\n')}
${ - language.$('releaseInfo.viewCommentary', { - link: link.albumCommentary(album, { - text: language.$('releaseInfo.viewCommentary.link') + ${(hasAdditionalFiles || hasCommentaryEntries) && fixWS`
+ ${[
+ hasAdditionalFiles && generateAdditionalFilesShortcut(album.additionalFiles, {language}),
+ hasCommentaryEntries && language.$('releaseInfo.viewCommentary', {
+ link: link.albumCommentary(album, {
+ text: language.$('releaseInfo.viewCommentary.link')
+ })
})
- })
+ ].filter(Boolean).join('
\n')
}
${ language.$('releaseInfo.listenOn', { @@ -212,6 +218,9 @@ export function write(album, {wikiData}) { ${album.tracks.map(trackToListItem).join('\n')} ${listTag}> `} + ${hasAdditionalFiles && generateAdditionalFilesList(album.additionalFiles, { + linkFile: file => link.albumAdditionalFile({album, file}) + })} ${album.dateAddedToWiki && fixWS`
${[ -- cgit 1.3.0-6-gf8a5