Skip to content

Commit 90b3baf

Browse files
authored
Merge pull request #154 from w3c/hotfix/i649-correct-banner-classes
Update access control banner docs
2 parents be3cea4 + 97b52e0 commit 90b3baf

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed
Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
# Access Control Banner
1+
# Access control banner
22

3-
Access Control Banners are used to display information about the page access restrictions.
4-
They are an enhancement of the banner component, and thus are placed in a `.global-header` element.
3+
Access control banners are used to display information about the page access restrictions. They are an enhancement of the banner that is found within the [header component](header.md), and thus are placed inside `<header class="global-header">`.
54

6-
Different types of access control banners are available:
7-
- `access-control-banner--member` - for member-only pages
8-
- `access-control-banner--team` - for team-only pages
9-
- `access-control-banner--user` - for pages restricted to the current user
10-
- `access-control-banner--private` - for other access control restrictions
5+
Different types of access control banners are available, using different classes:
116

12-
<example title="Access Control" src="components/access-control.html.twig" />
7+
- `.banner--access-control.acl-member` - for member-only pages
8+
- `.banner--access-control.acl-team` - for team-only pages
9+
- `.banner--access-control.acl-user` - for pages restricted to the current user
10+
- `.banner--access-control.acl-private` - for other access control restrictions
11+
12+
<example title="Access Control" src="components/access-control.html.twig" />

0 commit comments

Comments
 (0)