added total size to wip tile
This commit is contained in:
parent
0dc7398414
commit
b80dd48434
@ -209,12 +209,17 @@ module.exports.wip = function(state, emit) {
|
|||||||
/>
|
/>
|
||||||
<label
|
<label
|
||||||
for="file-upload"
|
for="file-upload"
|
||||||
class="flex flex-row items-center w-full p-2 cursor-pointer"
|
class="flex flex-row items-center justify-between w-full p-2 cursor-pointer"
|
||||||
title="${state.translate('addFilesButton')}"
|
title="${state.translate('addFilesButton')}"
|
||||||
>
|
>
|
||||||
|
<div class="flex items-center">
|
||||||
<img src="${assets.get('addfiles.svg')}" class="w-6 h-6 mr-2" /> ${
|
<img src="${assets.get('addfiles.svg')}" class="w-6 h-6 mr-2" /> ${
|
||||||
state.translate('addFilesButton')
|
state.translate('addFilesButton')
|
||||||
}
|
}
|
||||||
|
</div>
|
||||||
|
<div class="font-normal text-sm text-grey-darker">
|
||||||
|
${state.translate('totalSize', { size: bytes(state.archive.size) })}
|
||||||
|
</div>
|
||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
${expiryOptions(state, emit)} ${password(state, emit)}
|
${expiryOptions(state, emit)} ${password(state, emit)}
|
||||||
|
@ -52,6 +52,7 @@ fileCount = { $num ->
|
|||||||
[one] 1 file
|
[one] 1 file
|
||||||
*[other] { $num } files
|
*[other] { $num } files
|
||||||
}
|
}
|
||||||
|
totalSize = Total Size: { $size }
|
||||||
copyUrlFormLabelWithName = Copy and share the link to send your file: { $filename }
|
copyUrlFormLabelWithName = Copy and share the link to send your file: { $filename }
|
||||||
copyUrlFormButton = Copy to clipboard
|
copyUrlFormButton = Copy to clipboard
|
||||||
copiedUrl = Copied!
|
copiedUrl = Copied!
|
||||||
|
Loading…
Reference in New Issue
Block a user