From 474704fac9104cf3ec5425cb84dad7203555dd96 Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Wed, 18 May 2022 16:26:48 -0300 Subject: Additional Files styling improvements --- src/page/album.js | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/page') diff --git a/src/page/album.js b/src/page/album.js index 76c9c5f0..ec994ebb 100644 --- a/src/page/album.js +++ b/src/page/album.js @@ -220,13 +220,6 @@ export function write(album, {wikiData}) { ${album.tracks.map(trackToListItem).join('\n')} `} - ${hasAdditionalFiles && generateAdditionalFilesList(album.additionalFiles, { - // TODO: Kinda near the metal here... - getFileSize: file => getSizeOfAdditionalFile(urls - .from('media.root') - .to('media.albumAdditionalFile', album.directory, file)), - linkFile: file => link.albumAdditionalFile({album, file}), - })} ${album.dateAddedToWiki && fixWS`

${[ @@ -236,6 +229,13 @@ export function write(album, {wikiData}) { ].filter(Boolean).join('
\n')}

`} + ${hasAdditionalFiles && generateAdditionalFilesList(album.additionalFiles, { + // TODO: Kinda near the metal here... + getFileSize: file => getSizeOfAdditionalFile(urls + .from('media.root') + .to('media.albumAdditionalFile', album.directory, file)), + linkFile: file => link.albumAdditionalFile({album, file}), + })} ${album.commentary && fixWS`

${language.$('releaseInfo.artistCommentary')}

-- cgit 1.3.0-6-gf8a5