This commit is contained in:
Matan Bar Yosef 2015-08-03 22:26:57 +03:00
parent 4da8847a15
commit b8b6aa99cb
2 changed files with 2 additions and 1 deletions

View file

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

View file

@ -18,7 +18,7 @@
<div layout = "row" flex = "45">
<!-- <div ng-if = "isMasterOrLecturer"> -->
<md-card layout = "row">
<div ng-if="!isMember && !isInProject" layout-padding>
<div ng-if="!isLecturer && !isMember && !isInProject" layout-padding>
<md-button ng-click="joinProject($event)" ng class = "md-raised md-primary" aria-label="jP">
<i class="fa fa-user-plus"></i>
</md-button>