2016-04-19 19:20:07 +02:00
|
|
|
(function() {
|
|
|
|
|
|
|
|
'use strict';
|
|
|
|
|
|
|
|
angular
|
|
|
|
.module('harbor.details')
|
|
|
|
.controller('DetailsController', DetailsController);
|
2016-05-20 11:43:47 +02:00
|
|
|
|
2016-06-25 21:12:17 +02:00
|
|
|
DetailsController.$inject = ['$scope'];
|
|
|
|
|
|
|
|
function DetailsController($scope) {
|
2016-04-19 19:20:07 +02:00
|
|
|
var vm = this;
|
2016-06-25 21:12:17 +02:00
|
|
|
|
2016-05-04 12:42:05 +02:00
|
|
|
vm.publicity = false;
|
2016-05-20 11:43:47 +02:00
|
|
|
vm.isProjectMember = false;
|
|
|
|
|
2016-05-04 12:42:05 +02:00
|
|
|
vm.togglePublicity = togglePublicity;
|
2016-05-31 12:49:16 +02:00
|
|
|
vm.target = 'repositories';
|
2016-05-04 12:42:05 +02:00
|
|
|
|
2016-06-28 07:12:25 +02:00
|
|
|
vm.sectionDefaultHeight = {'min-height': '579px'};
|
|
|
|
|
2016-05-04 12:42:05 +02:00
|
|
|
function togglePublicity(e) {
|
|
|
|
vm.publicity = e.publicity;
|
|
|
|
}
|
2016-04-19 19:20:07 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
})();
|