patch: list - display + styles (wip)
This commit is contained in:
@ -0,0 +1,12 @@
|
||||
if componentSet.has('admin') && componentSet.has('communities')
|
||||
solid-widget(name='hubl-communities-counter-alternate')
|
||||
template
|
||||
div
|
||||
span.icon.icon-people.icon-third.icon-large.margin-right-xsmall
|
||||
solid-display(
|
||||
fields=''
|
||||
data-src="${src || value}"
|
||||
nested-field="members"
|
||||
counter-template="\\\${counter}"
|
||||
)
|
||||
span members
|
||||
3
src/views/partials/widgets/hubl-communities-logo.pug
Normal file
3
src/views/partials/widgets/hubl-communities-logo.pug
Normal file
@ -0,0 +1,3 @@
|
||||
if componentSet.has('admin') && componentSet.has('communities')
|
||||
solid-widget(name='hubl-communities-logo')
|
||||
template ${value != "" ? `<div \style="background-image:url(${value});" />` : `<div></div>`}
|
||||
18
src/views/partials/widgets/hubl-communities-name.pug
Normal file
18
src/views/partials/widgets/hubl-communities-name.pug
Normal file
@ -0,0 +1,18 @@
|
||||
if componentSet.has('admin') && componentSet.has('communities')
|
||||
solid-widget(name='hubl-communities-name-title')
|
||||
template
|
||||
div.segment.block.one-line-ellipsis(
|
||||
title="\${value}"
|
||||
) ${value}
|
||||
|
||||
solid-widget(name='hubl-communities-name')
|
||||
template
|
||||
solid-link(
|
||||
data-src="${src || value}"
|
||||
next=``
|
||||
)
|
||||
solid-display(
|
||||
data-src="${src || value}"
|
||||
fields="name"
|
||||
widget-name="hubl-communities-name-title"
|
||||
)
|
||||
Reference in New Issue
Block a user