diff --git a/app/ui/home.js b/app/ui/home.js index 6431aeab..63238266 100644 --- a/app/ui/home.js +++ b/app/ui/home.js @@ -18,12 +18,12 @@ module.exports = function(state, emit) { left = archiveTile.empty(state, emit); } - if (archives.length > 0 && state.WEB_UI.DOWNLOAD_LIST_NOTICE_HTML) { + if (archives.length > 0 && state.WEB_UI.UPLOADS_LIST_NOTICE_HTML) { archives.push(html`

- ${raw(state.WEB_UI.DOWNLOAD_LIST_NOTICE_HTML)} + ${raw(state.WEB_UI.UPLOADS_LIST_NOTICE_HTML)}

`); } diff --git a/server/clientConstants.js b/server/clientConstants.js index 48e0964e..6df763ec 100644 --- a/server/clientConstants.js +++ b/server/clientConstants.js @@ -17,7 +17,7 @@ module.exports = { CUSTOM_FOOTER_URL: config.custom_footer_url, MAIN_NOTICE_HTML: config.main_notice_html, UPLOAD_AREA_NOTICE_HTML: config.upload_area_notice_html, - DOWNLOAD_LIST_NOTICE_HTML: config.download_list_notice_html, + UPLOADS_LIST_NOTICE_HTML: config.uploads_list_notice_html, DOWNLOAD_NOTICE_HTML: config.download_notice_html, COLORS: { PRIMARY: config.ui_color_primary, diff --git a/server/config.js b/server/config.js index 0c71d9c1..1df07bad 100644 --- a/server/config.js +++ b/server/config.js @@ -274,10 +274,10 @@ const conf = convict({ default: '', env: 'SEND_UPLOAD_AREA_NOTICE_HTML' }, - download_list_notice_html: { + uploads_list_notice_html: { format: String, default: '', - env: 'SEND_DOWNLOAD_LIST_NOTICE_HTML' + env: 'SEND_UPLOADS_LIST_NOTICE_HTML' }, download_notice_html: { format: String,