hubl/src/templates/hubl-project-team.pug

23 lines
735 B
Plaintext
Raw Normal View History

2020-05-08 13:27:44 +00:00
include hubl-user-avatar.pug
2020-06-18 18:02:54 +00:00
solid-widget(name='hubl-project-team')
template
2020-06-18 18:02:54 +00:00
solid-display.user-thumb.is-spaced(
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)'
value-isadmin='${await value.is_admin}'
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'
2020-05-08 13:27:44 +00:00
widget-user.account.picture='hubl-user-avatar'
widget-isadmin='hubl-project-user-admin'
)
2020-06-18 18:02:54 +00:00
solid-widget(name='hubl-project-user-admin')
2020-04-21 17:02:56 +00:00
template ${(await value) == "false" ? "" : "Administrateur"}