mirror of
https://github.com/goharbor/harbor.git
synced 2024-12-20 15:48:26 +01:00
27 lines
534 B
JavaScript
27 lines
534 B
JavaScript
(function() {
|
|
|
|
'use strict';
|
|
|
|
angular
|
|
.module('harbor.details')
|
|
.controller('DetailsController', DetailsController);
|
|
|
|
DetailsController.$inject = ['$scope'];
|
|
|
|
function DetailsController($scope) {
|
|
var vm = this;
|
|
|
|
vm.publicity = false;
|
|
vm.isProjectMember = false;
|
|
|
|
vm.togglePublicity = togglePublicity;
|
|
vm.target = 'repositories';
|
|
|
|
vm.sectionDefaultHeight = {'min-height': '579px'};
|
|
|
|
function togglePublicity(e) {
|
|
vm.publicity = e.publicity;
|
|
}
|
|
}
|
|
|
|
})(); |