Commit f1ae8aa2 authored by Alexandre's avatar Alexandre
Browse files

on the leave button we are redirected and launch an event usefull for later

parent 86cb5b3d
<button class="pull-right"
ng-click="leaveBoard()"
ui-sref="project.workshops.overview">{{::_labels.disconnectWorkshopBtn}}
</button>
<div class="clearfix group-overview">
<div class="group-overview-title">
<h4 style="text-align: center"><span ng-bind="::_labels.workshops"></span></h4>
......@@ -23,8 +28,3 @@
</div>
</div>
</div>
<button class="pull-right"
ng-click="leaveBoard()"
ui-sref="project.workshops.overview">{{::_labels.disconnectWorkshopBtn}}
</button>
......@@ -31,6 +31,11 @@ root.controller('DetailsPaperBoardCtrl', ['$scope', '$stateParams', '$http', '$s
});
}
$scope.leaveBoard = function(){
alert("Vous venez de quitter l'atelier");
}
detailsPaperBoardCtrl.getPaperBoardDetails();
}]);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment