diff options
Diffstat (limited to 'tpl/objects/bubble-group.pug')
| -rw-r--r-- | tpl/objects/bubble-group.pug | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/tpl/objects/bubble-group.pug b/tpl/objects/bubble-group.pug index c2e502a..2b960f0 100644 --- a/tpl/objects/bubble-group.pug +++ b/tpl/objects/bubble-group.pug | |||
| @@ -1,16 +1,9 @@ | |||
| 1 | mixin bubble-group(user) | 1 | mixin bubble-group(user) |
| 2 | - | 2 | - |
| 3 | let first = true | ||
| 4 | |||
| 5 | mixin bubble-group-bubble(time) | ||
| 6 | +bubble(time, first ? user : undefined)(class='l-bubble-group__bubble') | ||
| 7 | block | ||
| 8 | - | ||
| 9 | first = false | ||
| 10 | |||
| 11 | - | ||
| 12 | let classes = { | 3 | let classes = { |
| 13 | 'l-bubble-group': true | 4 | 'l-bubble-group': true, |
| 5 | 'l-bubble-group--compact': attributes.compact, | ||
| 6 | 'l-bubble-group--arrow': attributes.arrow | ||
| 14 | } | 7 | } |
| 15 | if (attributes.class) { | 8 | if (attributes.class) { |
| 16 | classes[attributes.class] = true | 9 | classes[attributes.class] = true |
