mirror of
https://github.com/timvisee/send.git
synced 2025-10-03 09:49:14 +02:00
Rename downloads list to uploads list
This commit is contained in:
parent
1fb2f45285
commit
11aad6eac5
3 changed files with 5 additions and 5 deletions
|
@ -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`
|
||||
<p
|
||||
class="w-full p-2 border-default dark:border-grey-70 rounded-default text-orange-60 bg-yellow-40 text-center leading-normal"
|
||||
>
|
||||
${raw(state.WEB_UI.DOWNLOAD_LIST_NOTICE_HTML)}
|
||||
${raw(state.WEB_UI.UPLOADS_LIST_NOTICE_HTML)}
|
||||
</p>
|
||||
`);
|
||||
}
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue