Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

aui error message

JPB
Contributor
August 24, 2014

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?

3 answers

0 votes
JPB
Contributor
August 26, 2014

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.

0 votes
John Bishop
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 26, 2014

Which version of Jira are you using? Are there any javascript errors in your browser's javascript console?

0 votes
Thomas Heidenreich
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 25, 2014

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 :)

JPB
Contributor
August 25, 2014

No, that's what I'm doing, thanks.

Thomas Heidenreich
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 25, 2014

Did you include the classes via:

<head>
$webResourceManager.requireResource("com.atlassian.auiplugin:ajs")
</head>

JPB
Contributor
August 26, 2014

Yes I did. But I can't get the style of the message.

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, atlassian community, loom ai, atlassian loom ai, loom, atlassian ai, record recaps of meetings, meeting recaps, loom recaps, share meeting recaps,

Loom’s guide to great meetings 📹

Join us to learn how your team can stay fully engaged in meetings without worrying about writing everything down. Dive into Loom's newest feature, Loom AI for meetings, which automatically takes notes and tracks action items.

Register today!
AUG Leaders

Atlassian Community Events