fix: missing widget

This commit is contained in:
Jean-Baptiste Pasquier 2020-12-09 18:51:47 +01:00
parent 844bca8513
commit 549648baf2
No known key found for this signature in database
GPG Key ID: CC04B91B949C163A
2 changed files with 15 additions and 0 deletions

View File

@ -1,3 +1,4 @@
//- Import your widgets from the `widget`folder here
include widgets/hubl-captain.pug
include widgets/hubl-user-avatar.pug

View File

@ -0,0 +1,14 @@
solid-widget(name='hubl-captain')
template
solid-display.user-thumb(
data-src="${value}"
fields='account.picture, sup(name), sub(is_lead)'
class-account.picture='avatar user-thumb__picture'
class-name='user-thumb__name'
class-is_lead='user-thumb__lead'
widget-account.picture='hubl-user-avatar'
value-is_lead=''
data-trans='value-is_lead=template-captain.isLead'
)