Merge pull request #1960 from charltonaustin/create_endpoint_for_motd_cisco

Create endpoint for motd cisco
This commit is contained in:
Charlton Austin 2016-10-10 14:23:06 -04:00 committed by GitHub
commit 04cefaca51
9 changed files with 157 additions and 1 deletions

View file

@ -11,6 +11,11 @@ angular.module('quay').directive('quayMessageBar', function () {
scope: {},
controller: function ($scope, $element, ApiService) {
$scope.messages = [];
try {
ApiService.getMessages().then(function (data) {
$scope.messages = data['messages'] || [];
});
}
}
};
});