summaryrefslogtreecommitdiffstats
path: root/tpl/objects
diff options
context:
space:
mode:
Diffstat (limited to 'tpl/objects')
-rw-r--r--tpl/objects/action-menu.pug8
1 files changed, 6 insertions, 2 deletions
diff --git a/tpl/objects/action-menu.pug b/tpl/objects/action-menu.pug
index 6ab4e0d..e236b7c 100644
--- a/tpl/objects/action-menu.pug
+++ b/tpl/objects/action-menu.pug
@@ -1,5 +1,6 @@
1include ../objects/action-button.pug 1include action-button.pug
2include icon.pug 2include icon.pug
3include status-indicator.pug
3 4
4mixin action-menu 5mixin action-menu
5 - 6 -
@@ -17,7 +18,10 @@ mixin action-menu-item
17 .l-card.l-card--flush 18 .l-card.l-card--flush
18 .l-card__block.o-action-menu__icon-slot 19 .l-card__block.o-action-menu__icon-slot
19 if attributes.icon 20 if attributes.icon
20 +icon(attributes.icon)(class='o-action-menu__icon') 21 if attributes.iconIsStatus
22 +status-indicator(attributes.icon)(class='o-action-menu__icon')
23 else
24 +icon(attributes.icon)(class='o-action-menu__icon')
21 .l-card__block.l-card__block--main 25 .l-card__block.l-card__block--main
22 block 26 block
23 .l-card__block.o-action-menu__icon-slot 27 .l-card__block.o-action-menu__icon-slot