Skip to content
This repository has been archived by the owner on Feb 20, 2020. It is now read-only.

Commit

Permalink
fix bug #23 (comment)
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Williams committed Oct 28, 2014
1 parent 83eedb0 commit 67d185d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/app/bucket-list/bucket-list.coffee
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
angular.module('bucket-list', [])
.controller 'BucketListCtrl', ($scope, $stateParams, RoundService, ContributionService, AuthService, BucketService, latestRound) ->
.controller 'BucketListCtrl', ($scope, $stateParams, RoundService, ContributionService, AuthService, BucketService, BudgetLoader, latestRound) ->

///Lots of this should be abstracted into a service///

Expand Down Expand Up @@ -58,3 +58,5 @@ angular.module('bucket-list', [])
$scope.round.totalAllocated = totalCentsContributed / 100
$scope.round.timeLeftDays = 3
$scope.round.timeLeftHours = 72

BudgetLoader.setBudgetByRoute()
2 changes: 1 addition & 1 deletion src/app/bucket-list/bucket-list.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
</header>

<div class="bucket-list" ng-repeat="bucket in round.buckets">
<div class="bucket">
<div class="bucket" ng-if='currentBudget'>
<div class="allocation_amount allocated">
<!--<label>Allocate</label>-->
<input contribution-status="status" type="number" min="0" ng-model='bucket.myContribution.amountDollars' placeholder="0" ng-blur='saveContribution(bucket.myContribution)' >
Expand Down

0 comments on commit 67d185d

Please sign in to comment.