x
1
2
3
4
5
6
7
8
9
10
11
12
13
<div class='gl-broadcast-message banner js-broadcast-notification-99 light-indigo' data-testid='banner-broadcast-message' role='alert'> <div class='gl-broadcast-message-content'> <div class='gl-broadcast-message-icon'> <svg class="s16" data-testid="bullhorn-icon"><use href="/assets/icons-be8ca3b37e0f9a5adb0ee8b20a3ae0e568a9b5ac85539f8eaa965b6f7b4b38a1.svg#bullhorn"></use></svg> </div> <div class='gl-broadcast-message-text'> <h2 class='gl-sr-only'>Admin message</h2> Message for the broadcast banner </div> </div> <button class="gl-button btn btn-icon btn-sm btn-default btn-default-tertiary gl-broadcast-message-dismiss js-dismiss-current-broadcast-notification" aria-label="Close" data-id="99" data-expire-date="2026-01-18T01:45:48+00:00" data-dismissal-path="/my-path" data-cookie-key="my_cookie" type="button"><svg class="s16 gl-icon gl-button-icon " data-testid="close-icon"><use href="/assets/icons-be8ca3b37e0f9a5adb0ee8b20a3ae0e568a9b5ac85539f8eaa965b6f7b4b38a1.svg#close"></use></svg> </button></div>
1
2
3
4
5
6
7
8
9
render(Pajamas::BroadcastBannerComponent.new( message: message, id: id, theme: theme, dismissable: dismissable, expire_date: expire_date, cookie_key: cookie_key, dismissal_path: dismissal_path))
No notes provided.
Param | Description | Input |
---|---|---|
— |
|
|
— |
|
|
— |
|
|
— |
|
|
— |
|
|
— |
|
|
— |
|