show checkmarks on completed transfers - fixes #5460

This commit is contained in:
Eugene Pankov 2022-01-13 23:54:35 +01:00
parent b42314b29e
commit a639d65ed6
No known key found for this signature in database
GPG key ID: 5896FCBBDD1CF4F4
2 changed files with 9 additions and 1 deletions

View file

@ -16,4 +16,11 @@
.size {{transfer.getSize()|filesize}}
.speed(*ngIf='transfer.getSpeed()') {{transfer.getSpeed()|filesize}}/s
button.btn.btn-link((click)='removeTransfer(transfer); $event.stopPropagation()') !{require('../icons/times.svg')}
button.btn.btn-link(
*ngIf='!transfer.isComplete()',
(click)='removeTransfer(transfer); $event.stopPropagation()'
) !{require('../icons/times.svg')}
button.btn.btn-link(
*ngIf='transfer.isComplete()',
(click)='removeTransfer(transfer); $event.stopPropagation()'
) !{require('../icons/check.svg')}

View file

@ -0,0 +1 @@
<svg aria-hidden="true" focusable="false" data-prefix="far" data-icon="check" class="svg-inline--fa fa-check" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="currentColor" d="M480.1 128.1l-272 272C204.3 405.7 198.2 408 192 408s-12.28-2.344-16.97-7.031l-144-144c-9.375-9.375-9.375-24.56 0-33.94s24.56-9.375 33.94 0L192 350.1l255-255c9.375-9.375 24.56-9.375 33.94 0S490.3 119.6 480.1 128.1z"></path></svg>

After

Width:  |  Height:  |  Size: 436 B