2019-09-25 14:16:17 +00:00
|
|
|
include hd-user-avatar.pug
|
|
|
|
|
2019-10-25 13:35:14 +00:00
|
|
|
sib-widget(name='circle-team-template')
|
2019-09-25 14:16:17 +00:00
|
|
|
template
|
|
|
|
sib-display(
|
2020-01-20 12:57:03 +00:00
|
|
|
data-src='${await value.user}'
|
|
|
|
fields='account.picture, sup(name, isadmin, groups), sub(profile.city)'
|
|
|
|
value-isadmin='${await value.is_admin}'
|
2019-11-21 19:45:57 +00:00
|
|
|
|
2020-01-20 12:57:03 +00:00
|
|
|
class-name='user-name'
|
|
|
|
class-isadmin='tag-admin'
|
|
|
|
class-groups='tag-group'
|
|
|
|
class-profile.city='city'
|
2019-09-25 14:16:17 +00:00
|
|
|
|
2020-01-20 12:57:03 +00:00
|
|
|
widget-account.picture='hd-user-avatar'
|
|
|
|
widget-isadmin='hd-circle-user-admin'
|
|
|
|
widget-groups='hd-circle-user-groups'
|
2019-09-25 14:16:17 +00:00
|
|
|
|
2020-01-20 12:57:03 +00:00
|
|
|
multiple-groups=''
|
2019-09-25 14:16:17 +00:00
|
|
|
)
|
|
|
|
|
2020-01-20 12:57:03 +00:00
|
|
|
sib-widget(name='hd-circle-user-admin')
|
|
|
|
template ${(await value) != "false" ? "Administrator" : ""}
|
2019-11-21 19:45:57 +00:00
|
|
|
|
2020-01-20 12:57:03 +00:00
|
|
|
sib-widget(name='hd-circle-user-groups')
|
2019-09-25 14:16:17 +00:00
|
|
|
template ${await value.name}
|