fix button display for paused transfer
This commit is contained in:
parent
8ba9830653
commit
37eed5d8d0
2 changed files with 6 additions and 3 deletions
|
@ -27,8 +27,8 @@
|
|||
<div .progress .progress-striped>
|
||||
<div .bar style="width: #{percent};">
|
||||
<div .btn-group .span2>
|
||||
$if isNothing (startedTime info)
|
||||
^{actionButton (StartTransferR transfer) Nothing "btn" "icon-play"}
|
||||
$else
|
||||
$if isrunning info
|
||||
^{actionButton (PauseTransferR transfer) Nothing "btn" "icon-pause"}
|
||||
$else
|
||||
^{actionButton (StartTransferR transfer) Nothing "btn" "icon-play"}
|
||||
^{actionButton (CancelTransferR transfer) Nothing "btn" "icon-remove"}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue