I'm trying to show an error message like the ones in this link:
https://docs.atlassian.com/aui/latest/docs/messages.html
I'm trying to insert an error message through the example 'Inserted with html', but I just get the rectangle with a grey border, not the red one (for error) or the yellow one (for warning). I also tried adding the dependency 'com.atlassian.auiplugin:aui-messages', but no difference, any suggestions?
In my dev. environment I'm using version 6.2.7.
I don't have any javascript errors in console.
For more infor, I want this:
I'm using this code:
<div class="aui-message aui-message-error"> <p class="title"> <strong>Error!</strong> </p> <p>And this is just content in a Default message.</p> </div>
And I'm getting this result:
As you can see, the style is not the one like in the example I gave in the link in the main question.
Which version of Jira are you using? Are there any javascript errors in your browser's javascript console?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
An example code would be:
<div class="aui-message error"> <p class="title"> <span class="aui-icon icon-error"></span> <strong>Headline</strong> </p> <p>Message</p> </div>
hope this helps :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Did you include the classes via:
<head> $webResourceManager.requireResource("com.atlassian.auiplugin:ajs") </head>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.