Waiting downloads should be pausable
This commit is contained in:
parent
00799bc6f6
commit
7ca141a41f
|
@ -307,14 +307,14 @@
|
||||||
<!-- {{{ download control buttons -->
|
<!-- {{{ download control buttons -->
|
||||||
<div class="btn-group">
|
<div class="btn-group">
|
||||||
<button
|
<button
|
||||||
ng-show="hasStatus(download, 'active')"
|
ng-show="hasStatus(download, ['active', 'waiting'])"
|
||||||
class="btn"
|
class="btn"
|
||||||
ng-click="pause(download)">
|
ng-click="pause(download)">
|
||||||
<i class="icon-pause"></i>
|
<i class="icon-pause"></i>
|
||||||
</button>
|
</button>
|
||||||
|
|
||||||
<button
|
<button
|
||||||
ng-show="hasStatus(download, ['paused', 'waiting'])"
|
ng-show="hasStatus(download, 'paused')"
|
||||||
class="btn"
|
class="btn"
|
||||||
ng-click="resume(download)">
|
ng-click="resume(download)">
|
||||||
<i class="icon-play"></i>
|
<i class="icon-play"></i>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user