View SSH Key modal
This commit is contained in:
parent
f4ba7b41b3
commit
876d9c53f2
4 changed files with 73 additions and 2 deletions
|
@ -32,6 +32,9 @@ angular.module('quay').directive('repoPanelBuilds', function () {
|
|||
$scope.showTriggerStartDialogCounter = 0;
|
||||
$scope.showTriggerSetupCounter = 0;
|
||||
|
||||
$scope.sshKeyModalTrigger = null;
|
||||
$scope.sshKeyModalCounter = 0;
|
||||
|
||||
var updateBuilds = function() {
|
||||
if (!$scope.allBuilds) { return; }
|
||||
|
||||
|
@ -158,6 +161,11 @@ angular.module('quay').directive('repoPanelBuilds', function () {
|
|||
$scope.options.predicate = predicate;
|
||||
};
|
||||
|
||||
$scope.showSSHKeyModal = function(trigger) {
|
||||
$scope.sshKeyModalTrigger = trigger;
|
||||
$scope.sshKeyModalCounter++;
|
||||
};
|
||||
|
||||
$scope.askDeleteTrigger = function(trigger) {
|
||||
$scope.deleteTriggerInfo = {
|
||||
'trigger': trigger
|
||||
|
|
Reference in a new issue