This documentation has moved. For the most recent documentation, check out https://docs.adaptavist.com. Please update your bookmarks and links.

Skip to end of metadata
Go to start of metadata

Description


This macro provides the ability to create customisable alerts that appear when the page loads. Alerts layer above content on a Confluence page can be dismissed by the user and will reload each time the page is refreshed. 

Example use cases can include adding a warning to users that the page that they are viewing is not finalised, that there are specific restrictions for that page or that there is something of importance on that page.

Please note that any alerts added to a page will be visible to all users that have permission to view the page.

Usage

Click Insert > Other Macros.

This will take you to the Macro Browser, where you can search and select the Alert Macro from the list. 


The macro will then appear on the page. 


Parameters 

There are three parameters that can be set for the Alert Macro. These are as follows:

ParameterDescriptionType

Default

Required?
Alert Type

Specify the type of alert to be shown.

There are four types: Info  (blue - default),  Success (green) Warning (yellow) Error (red)

 

enum

Info

(tick)

Alert Title
The title that will be displayed at the head of the alert
stringnone(error)

Once the alert has been added to a page, it will appear on page load. A page can contain multiple alerts.

Example

Creating an Alert Macro 

Success Alert

Info Alert 

Warning Alert

Error Alert


  • No labels