Atlassian applications support standard page decorators, allowing your plugin to generate new web pages with consistent decoration by the host application across the Atlassian products.
Specify the decorator with an HTML meta
tag in your head
element:
1 2<html> <head> <meta name="decorator" content="atl.general"/> </head>
The following decorators are available.
Decorator | Description |
---|---|
| For application administration pages. Version of Atlassian Plugin Framework: 2.1 and later |
| For the header and footer of general pages outside the administration UI. Version of Atlassian Plugin Framework: 2.1 and later |
| For content that you want placed in a new browser popup window. Version of Atlassian Plugin Framework: 2.3 and later |
| For content on a page in the user profile. In the above example, the value of the
Note: The profile decorator is still experimental. In some applications it may function in the same way as Version of Atlassian Plugin Framework: 2.3 and later |
In this version of Confluence, the standard page decorators are only available on the following URL patterns:
*.action
*.vm
/display/*
/label/*
Other URLs do not pass through the Sitemesh decoration filter, so the HTML they return will not be decorated.
Rate this page: