fix: missing widget
This commit is contained in:
parent
844bca8513
commit
549648baf2
@ -1,3 +1,4 @@
|
||||
//- Import your widgets from the `widget`folder here
|
||||
|
||||
include widgets/hubl-captain.pug
|
||||
include widgets/hubl-user-avatar.pug
|
14
src/views/partials/widgets/hubl-captain.pug
Normal file
14
src/views/partials/widgets/hubl-captain.pug
Normal 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'
|
||||
)
|
Loading…
Reference in New Issue
Block a user