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.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
|
||||
torrent.tRemaining = 'Done'
|
||||
else
|
||||
|
|
|
@ -16,7 +16,7 @@ html(ng-app='bTorrent', lang='en')
|
|||
header
|
||||
h1
|
||||
| βTorrent
|
||||
span.version v0.4.1
|
||||
span.version v0.4.2
|
||||
.container(ng-controller='bTorrentCtrl', ng-cloak='')
|
||||
.row
|
||||
.twelve.columns
|
||||
|
|
Loading…
Reference in a new issue