Skip to content

Commit b78af2d

Browse files
pbatchupbatchu
authored andcommitted
fixed hrefs for navbar (edit,del) removed dummy links
1 parent 05c58ed commit b78af2d

File tree

4 files changed

+7
-8
lines changed

4 files changed

+7
-8
lines changed

billrive-client/app/index.html

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,11 +63,10 @@
6363
</a>
6464
<ul class="dropdown-menu">
6565
<!-- links -->
66-
<li><a tabindex="-1" href="#/addBill">Add</a></li>
67-
<li><a tabindex="-1" href="#/listBills">List</a></li>
68-
<li><a tabindex="-1" href="#">Another action</a></li>
66+
<li><a tabindex="-1" href="#/bills/add">Add</a></li>
67+
<li><a tabindex="-1" href="#/bills/list">List</a></li>
6968
<li class="divider"></li>
70-
<li><a tabindex="-1" href="#">Separated link</a></li>
69+
<li><a tabindex="-1" href="#">Reports</a></li>
7170
</ul>
7271
</li>
7372
<li><a href="#/listFriends"><i class="icon-heart"></i>&nbsp;Friends</a></li>

billrive-client/app/js/controllers.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,6 @@ billRive.controller('BillEditCtrl', function($scope, billService, $location,$rou
8080
$scope.bills[$routeParams.id] = $scope.bill;
8181
$scope.bill = [];
8282
// $scope.bill=billService.getBill();
83-
$location.url('/');
83+
// $location.url('/');
8484
};
8585
});

billrive-client/app/js/services.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -186,14 +186,14 @@ var bills = [{
186186
]
187187
}
188188
],
189-
"billTotal": 30
189+
"billTotal": 35
190190
},
191191
"groupId": 2
192192
},
193193
{
194194
"id": 2,
195195
"title": "Costco",
196-
"date":"04/28/2013",
196+
"date":"05/27/2013",
197197
"billPayerId": 2,
198198
"notes": "Second sample Notes",
199199
"billFinances": {

billrive-client/app/partials/bills/list.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
</button>
3232
</td>
3333
</tr>-->
34-
<tr ng-repeat="ibill in bills | filter:query">
34+
<tr ng-repeat="ibill in bills | filter:query | orderBy:'date'">
3535
<td>{{ ibill.date}}</td>
3636
<td>{{ ibill.title }}</td>
3737
<td>${{ ibill.billFinances.billTotal }}</td>

0 commit comments

Comments
 (0)