diff --git a/templates/js/controllers/projectController.js b/templates/js/controllers/projectController.js index 18d9d5e..b1cf373 100644 --- a/templates/js/controllers/projectController.js +++ b/templates/js/controllers/projectController.js @@ -15,6 +15,7 @@ angular.module('SeHub') $scope.projectMessages = []; $scope.msg = {}; $scope.isMaster = false; + $scope.isLecturer = $scope.user.isLecturer; // $scope.thisProject = {}; // $scope.thisProject.courseName = $routeParams.className; diff --git a/templates/views/home.html b/templates/views/home.html index a59b40d..d3c303a 100644 --- a/templates/views/home.html +++ b/templates/views/home.html @@ -120,12 +120,9 @@
Latest Message- - + {{userMessages[0].message}} - - No Messages. -
@@ -158,11 +155,11 @@ -
+
-
+
{{msg.user.username}}
diff --git a/templates/views/project.html b/templates/views/project.html index 60438ea..da09dc5 100644 --- a/templates/views/project.html +++ b/templates/views/project.html @@ -18,7 +18,7 @@
-
+