-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
EWPP-3916: Use tabs pattern in local tasks.
- Loading branch information
1 parent
dc1d3dd
commit c9c2867
Showing
4 changed files
with
46 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
diff --git a/node_modules/@ecl/twig-component-tabs/tabs.html.twig b/node_modules/@ecl/twig-component-tabs/tabs.html.twig | ||
index 428181c..f114135 100644 | ||
--- a/node_modules/@ecl/twig-component-tabs/tabs.html.twig | ||
+++ b/node_modules/@ecl/twig-component-tabs/tabs.html.twig | ||
@@ -80,6 +80,9 @@ | ||
{% else %} | ||
{% set _item_extra_attributes = _item_extra_attributes|merge([{ name: 'aria-selected', value: 'false' }]) %} | ||
{% endif %} | ||
+ {% if _item.extra_classes is defined %} | ||
+ {% set _item_extra_classes = _item_extra_classes ~ ' ' ~ _item.extra_classes %} | ||
+ {% endif %} | ||
{% if _menu is not empty %} | ||
{% set extra_attributes = extra_attributes|merge([{ name: 'data-ecl-has-menu' }]) %} | ||
{% endif %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters