blob: e5e055c2539cfa8417285242de3cdeac01da6399 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
mixin message-group(user)
-
let classes = {
'l-message-group': true,
'l-message-group--compact': attributes.compact,
'l-message-group--left': attributes.left,
'l-message-group--right': attributes.right,
'l-message-group--arrow': attributes.arrow,
'l-message-group--group': attributes.group,
'l-message-group--merge': attributes.merge
}
if (attributes.class) {
classes[attributes.class] = true
}
section(class=classes)
.l-message-group__avatar.u-p-sticky-top
+avatar= user.slice(0, 2)
block
|