Removed torrent update pretty text, now using angular filter
This commit is contained in:
parent
c5705f65dd
commit
e32cb41a99
2 changed files with 1 additions and 5 deletions
|
@ -90,10 +90,6 @@ app.controller 'bTorrentCtrl', ['$scope','$http','$log','$location', ($scope, $h
|
||||||
|
|
||||||
torrent.update = ->
|
torrent.update = ->
|
||||||
torrent.pProgress = (100 * torrent.progress).toFixed(1)
|
torrent.pProgress = (100 * torrent.progress).toFixed(1)
|
||||||
torrent.pDownloaded = torrent.downloaded
|
|
||||||
torrent.pUploaded = torrent.uploaded
|
|
||||||
torrent.pUploadSpeed = torrent.uploadSpeed()
|
|
||||||
torrent.pDownloadSpeed = torrent.downloadSpeed()
|
|
||||||
if torrent.done
|
if torrent.done
|
||||||
torrent.tRemaining = 'Done'
|
torrent.tRemaining = 'Done'
|
||||||
else
|
else
|
||||||
|
|
|
@ -16,7 +16,7 @@ html(ng-app='bTorrent', lang='en')
|
||||||
header
|
header
|
||||||
h1
|
h1
|
||||||
| βTorrent
|
| βTorrent
|
||||||
span.version v0.4.1
|
span.version v0.4.2
|
||||||
.container(ng-controller='bTorrentCtrl', ng-cloak='')
|
.container(ng-controller='bTorrentCtrl', ng-cloak='')
|
||||||
.row
|
.row
|
||||||
.twelve.columns
|
.twelve.columns
|
||||||
|
|
Loading…
Reference in a new issue