Get Quay notification support working in the notification methods

This commit is contained in:
Joseph Schorr 2014-07-18 14:12:20 -04:00
parent 3865e3b1b7
commit f7c154abb5
4 changed files with 44 additions and 9 deletions

View file

@ -1110,6 +1110,13 @@ quayApp = angular.module('quay', quayDependencies, function($provide, cfpLoading
'message': 'We will be down for schedule maintenance from {from_date} to {to_date} ' +
'for {reason}. We are sorry about any inconvenience.',
'page': 'http://status.quay.io/'
},
'repo_push': {
'level': 'info',
'message': 'Repository {repository} has been pushed with the following tags updated: {updated_tags}',
'page': function(metadata) {
return '/repository/' + metadata.repository;
}
}
};
@ -4668,7 +4675,8 @@ quayApp.directive('externalNotificationView', function () {
ApiService.testRepoNotification(null, params).then(function() {
bootbox.dialog({
"message": "Test Notification Sent",
"title": "Test Notification Queued",
"message": "A test version of this notification has been queued and should appear shortly",
"buttons": {
"close": {
"label": "Close",