From 12606726c11efbbf7213b05284c94e28a1ae4b8e Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Sat, 5 Jan 2013 22:39:18 +0100 Subject: o Including state in both badge and badge progress. o Removing count from badge, inserting one badge per badge received. --- src/main/webapp/apps/frontPageApp/frontPageApp.js | 6 +- src/main/webapp/apps/frontPageApp/person.html | 77 +++++++++++++++-------- 2 files changed, 54 insertions(+), 29 deletions(-) (limited to 'src/main/webapp') diff --git a/src/main/webapp/apps/frontPageApp/frontPageApp.js b/src/main/webapp/apps/frontPageApp/frontPageApp.js index 7678f0d..ef0de81 100755 --- a/src/main/webapp/apps/frontPageApp/frontPageApp.js +++ b/src/main/webapp/apps/frontPageApp/frontPageApp.js @@ -40,7 +40,7 @@ function PersonCtrl($scope, $routeParams, Person, Badge, Build, PagingTableServi $scope.recentBuilds = builds; }); - Badge.query({person: personUuid}, function (badges) { - $scope.badges = badges; - }); +// Badge.query({person: personUuid}, function (badges) { +// $scope.badges = badges; +// }); } diff --git a/src/main/webapp/apps/frontPageApp/person.html b/src/main/webapp/apps/frontPageApp/person.html index 3544221..8573afe 100755 --- a/src/main/webapp/apps/frontPageApp/person.html +++ b/src/main/webapp/apps/frontPageApp/person.html @@ -3,7 +3,7 @@
-

Badges

+
+
+

Upcoming

+ + + + + +
{{badge.name}} +
+
+
+
-

- {{badge.name}} x {{badge.count}} -

+

Badges

+
    +
  • + + {{badge.name}} + + + + -
    -
    -
    {{badge.name}}
    + {{badge.createdDate | date:'medium'}} +
  • +
+
+
+

Recent builds

+ + + + + + + + + + + +
{{build.timestamp | date:'medium'}}{{{true: 'Success', false: 'Failure'}[build.success]}}Details
- -

Recent builds

- - - - - - - - - - - - - - - -
DateSuccess
{{build.timestamp | date:'medium'}}{{build.success}}Details
-- cgit v1.2.3