Switch to new markdown editor everywhere
This commit is contained in:
parent
f05b6d8c52
commit
3e3e25bb5a
7 changed files with 47 additions and 13 deletions
|
@ -168,6 +168,10 @@ angular.module('quay').directive('serviceKeysManager', function () {
|
|||
loadServiceKeys();
|
||||
}, ApiService.errorDisplay('Could not create service key'));
|
||||
};
|
||||
|
||||
$scope.updateNewKeyNotes = function(content) {
|
||||
$scope.newKey.notes = content;
|
||||
};
|
||||
|
||||
$scope.showApproveKey = function(key) {
|
||||
$scope.approvalKeyInfo = {
|
||||
|
@ -195,6 +199,10 @@ angular.module('quay').directive('serviceKeysManager', function () {
|
|||
callback(true);
|
||||
}, errorHandler);
|
||||
};
|
||||
|
||||
$scope.updateApprovalKeyInfoNotes = function(content) {
|
||||
$scope.approvalKeyInfo.notes = content;
|
||||
};
|
||||
|
||||
$scope.showCreateKey = function() {
|
||||
$scope.newKey = {
|
||||
|
@ -351,7 +359,11 @@ angular.module('quay').directive('serviceKeysManager', function () {
|
|||
|
||||
forAllKeys(info.keys, 'Could not approve service key', performer, callback);
|
||||
};
|
||||
|
||||
|
||||
$scope.updateApproveKeysInfoNotes = function(content) {
|
||||
$scope.approveKeysInfo.notes = content;
|
||||
};
|
||||
|
||||
$scope.changeKeysExpiration = function(info, callback) {
|
||||
var performer = function(key) {
|
||||
var data = {
|
||||
|
|
Reference in a new issue