diff options
Diffstat (limited to 'templates/dashboard/transfers.hamlet')
-rw-r--r-- | templates/dashboard/transfers.hamlet | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/templates/dashboard/transfers.hamlet b/templates/dashboard/transfers.hamlet index 20d1b5e8a..150dcc296 100644 --- a/templates/dashboard/transfers.hamlet +++ b/templates/dashboard/transfers.hamlet @@ -11,7 +11,7 @@ $maybe file <- associatedFile info #{file} $nothing - #{show $ transferKey transfer} + #{key2file $ transferKey transfer} $case transferDirection transfer $of Upload → @@ -28,10 +28,10 @@ <div .bar style="width: #{percent};"> <div .btn-group .span2> $if isNothing (startedTime info) - <button .btn> + <a .btn href="@{StartTransferR transfer}" onclick="(function( $ ) { $.post('@{StartTransferR transfer}'); })( jQuery ); return false;"> <i .icon-play title="start"></i> $else - <button .btn> + <a .btn href="@{PauseTransferR transfer}" onclick="(function( $ ) { $.post('@{PauseTransferR transfer}'); })( jQuery ); return false;"> <i .icon-pause title="pause"></i> - <button .btn> + <a .btn href="@{CancelTransferR transfer}" onclick="(function( $ ) { $.post('@{CancelTransferR transfer}'); })( jQuery ); return false;"> <i .icon-remove title="cancel"></i> |