2020-05-08 13:27:44 +00:00
|
|
|
include hubl-user-avatar.pug
|
2019-12-20 15:09:18 +00:00
|
|
|
|
2020-05-08 13:27:44 +00:00
|
|
|
sib-widget(name='hubl-project-team')
|
2019-12-20 15:09:18 +00:00
|
|
|
template
|
2020-06-11 13:20:20 +00:00
|
|
|
sib-display.user-thumb.is-spaced(
|
2019-12-20 15:09:18 +00:00
|
|
|
data-src='${await value}'
|
2020-05-13 08:16:00 +00:00
|
|
|
fields='user.account.picture, sup(user.name, isadmin), sub(user.profile.city, name)'
|
2020-01-22 15:08:53 +00:00
|
|
|
value-isadmin='${await value.is_admin}'
|
2019-12-20 15:09:18 +00:00
|
|
|
|
2020-05-18 08:47:43 +00:00
|
|
|
class-user.account.picture='avatar user-thumb__picture'
|
2020-04-02 16:09:23 +00:00
|
|
|
|
|
|
|
class-user.name='user-thumb__name'
|
2020-05-13 10:11:05 +00:00
|
|
|
class-isadmin='user-thumb__admin'
|
2020-04-02 16:09:23 +00:00
|
|
|
class-user.profile.city='user-thumb__city'
|
|
|
|
class-name='user-thumb__lead'
|
2019-12-20 15:09:18 +00:00
|
|
|
|
2020-05-08 13:27:44 +00:00
|
|
|
widget-user.account.picture='hubl-user-avatar'
|
|
|
|
widget-isadmin='hubl-project-user-admin'
|
2019-12-20 15:09:18 +00:00
|
|
|
)
|
|
|
|
|
2020-05-08 13:27:44 +00:00
|
|
|
sib-widget(name='hubl-project-user-admin')
|
2020-04-21 17:02:56 +00:00
|
|
|
template ${(await value) == "false" ? "" : "Administrateur"}
|