Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes #10440: show error and success messages when creating GPG keys. #5891

Merged
merged 1 commit into from Mar 18, 2016

Conversation

waldenraines
Copy link
Contributor

} else {
GlobalNotification.setErrorMessage("An error occurred while creating the GPG key: " + content.displayMessage);
$scope.errorMessages = [translate("An error occurred while creating the GPG key: ") + content.displayMessage];
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's the reasoning behind not using a global notification here?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because to me it seems odd to put an error message in the global notification spot when the error is on the form itself. Showing the error right above the form calls attention to the form where the error is.

@jlsherrill
Copy link
Member

ACK

waldenraines pushed a commit that referenced this pull request Mar 18, 2016
Fixes #10440: show error and success messages when creating GPG keys.
@waldenraines waldenraines merged commit 7f8b06d into Katello:master Mar 18, 2016
@waldenraines waldenraines deleted the 10440 branch March 18, 2016 15:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants