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 @@