From 5a13b3f12c81394ca05592eb5decf84eb4760af0 Mon Sep 17 00:00:00 2001 From: Matan Bar Yosef Date: Mon, 3 Aug 2015 01:40:14 +0300 Subject: [PATCH] - in progress --- templates/js/controllers/projectController.js | 7 +++---- templates/views/project.html | 16 ++++++++-------- 2 files changed, 11 insertions(+), 12 deletions(-) diff --git a/templates/js/controllers/projectController.js b/templates/js/controllers/projectController.js index 5d61c1c..18d9d5e 100644 --- a/templates/js/controllers/projectController.js +++ b/templates/js/controllers/projectController.js @@ -28,7 +28,9 @@ angular.module('SeHub') apiService.getAllUserMessages(token).success(function(data) { $scope.displayingMessages = false; - $scope.projectMessages = data; + // for(var i = 0; i < data.length; i ++) + // if(!data.isPersonal) + $scope.projectMessages = data; }).error(function(err) { console.log(err.message); @@ -112,9 +114,6 @@ angular.module('SeHub') 'message': $scope.msg.msgToAdd, 'isProject': true }; - console.log(jsonNewMsg.message); - console.log(jsonNewMsg.groupId); - console.log(jsonNewMsg.isProject); apiService.createMessage(token, jsonNewMsg).success(function(data) { diff --git a/templates/views/project.html b/templates/views/project.html index 02e5f3a..60438ea 100644 --- a/templates/views/project.html +++ b/templates/views/project.html @@ -108,7 +108,7 @@ -
+
@@ -138,21 +138,21 @@ - + - {{msg.message}} + {{commit.commit.message}} - - {{date.date}} + + {{commit.commit.committer.date}} - + - {{member.name}} + {{commit.commit.committer.name}} @@ -185,7 +185,7 @@ {{issue.milestone.title}} - + {{issue.assignee.login}}