patch: community-map
This commit is contained in:
@ -1,3 +1,3 @@
|
||||
if componentSet.has('admin') && componentSet.has('circles')
|
||||
if (componentSet.has('admin') && componentSet.has('circles')) || componentSet.has('communities')
|
||||
solid-widget(name='hubl-admin-community-logo')
|
||||
template ${value != "" ? `<div \style="background-image:url(${value});" />` : `<div></div>`}
|
@ -1,4 +1,4 @@
|
||||
if componentSet.has('admin') && componentSet.has('communities')
|
||||
if componentSet.has('communities')
|
||||
solid-widget(name='hubl-communities-counter-alternate')
|
||||
template
|
||||
div
|
||||
@ -9,4 +9,4 @@ if componentSet.has('admin') && componentSet.has('communities')
|
||||
nested-field="members"
|
||||
counter-template="\\\${counter}"
|
||||
)
|
||||
span members
|
||||
span(data-trans="communities.list.members")
|
||||
|
@ -1,3 +1,3 @@
|
||||
if componentSet.has('admin') && componentSet.has('communities')
|
||||
if componentSet.has('communities')
|
||||
solid-widget(name='hubl-communities-logo')
|
||||
template ${value != "" ? `<div \style="background-image:url(${value});" />` : `<div></div>`}
|
||||
template ${value != "" ? `<div \style="background-image:url(${value});" />` : `<div></div>`}
|
||||
|
@ -0,0 +1,4 @@
|
||||
if componentSet.has('communities')
|
||||
solid-widget(name='hubl-communities-profile-address')
|
||||
template
|
||||
| ${await value != "" ? `<span class="icon mdi-map-marker icon-third icon-large icon-margin-right-xsmall">\${await value.adress_line1}<br>\${await value.adress_line2}</span>` : `<span></span>`}
|
||||
|
@ -0,0 +1,3 @@
|
||||
if componentSet.has('communities')
|
||||
solid-widget(name='hubl-communities-profile-email')
|
||||
template ${value != "" ? `<a class="link margin-bottom-xsmall icon mdi-email-outline icon-third icon-large icon-margin-right-xsmall" href="mailto:\${value}">\$value</a>` : `<span></span>`}
|
@ -0,0 +1,3 @@
|
||||
if componentSet.has('communities')
|
||||
solid-widget(name='hubl-communities-profile-facebook')
|
||||
template ${value != "" ? `<a class="segment children-link-rounded children-icon-social-facebook children-link-reversed color-secondary bordered margin-right-medium" href="${value}" target="_blank"><span></span></a>` : `<span></span>`}
|
@ -0,0 +1,3 @@
|
||||
if componentSet.has('communities')
|
||||
solid-widget(name='hubl-communities-profile-instagram')
|
||||
template ${value != "" ? `<a class="segment children-link-rounded children-icon-social-instagram children-link-reversed color-secondary bordered" href="${value}" target="_blank"><span></span></a>` : `<span></span>`}
|
@ -0,0 +1,3 @@
|
||||
if componentSet.has('communities')
|
||||
solid-widget(name='hubl-communities-profile-linkedin')
|
||||
template ${value != "" ? `<a class="segment children-link-rounded children-icon-social-linkedin children-link-reversed color-secondary bordered margin-right-medium" href="${value}" target="_blank"><span></span></a>` : `<span></span>`}
|
@ -1,3 +1,3 @@
|
||||
if componentSet.has('admin') && componentSet.has('communities')
|
||||
if componentSet.has('communities')
|
||||
solid-widget(name='hubl-communities-profile-logo')
|
||||
template ${value != "" ? `<div \style="background-image:url(${value});" />` : `<div></div>`}
|
@ -1,4 +1,4 @@
|
||||
if componentSet.has('admin') && componentSet.has('communities')
|
||||
if componentSet.has('communities')
|
||||
solid-widget(name='hubl-communities-profile-members-counter')
|
||||
template
|
||||
p
|
||||
@ -8,4 +8,4 @@ if componentSet.has('admin') && componentSet.has('communities')
|
||||
fields=''
|
||||
counter-template="\\\${counter}"
|
||||
)
|
||||
span members
|
||||
span(data-trans="communities.profile.members")
|
@ -0,0 +1,3 @@
|
||||
if componentSet.has('communities')
|
||||
solid-widget(name='hubl-communities-profile-phone')
|
||||
template ${value != "" ? `<a class="link margin-bottom-xsmall icon mdi-cellphone-iphone icon-third icon-large icon-margin-right-xsmall" href="tel:\${value}">\$value</a>` : `<span></span>`}
|
@ -0,0 +1,3 @@
|
||||
if componentSet.has('communities')
|
||||
solid-widget(name='hubl-communities-profile-picture')
|
||||
template ${value != "" ? `<div \style="background-image:url(${value});" />` : `<div class="picture-empty"><object type="image/svg+xml" data="/images/photos.svg"></object></div>`}
|
@ -1,6 +0,0 @@
|
||||
if componentSet.has('admin') && componentSet.has('communities')
|
||||
solid-widget(name='hubl-communities-profile-profile')
|
||||
template
|
||||
| ${value.website != "" ? `<a class="link margin-bottom-xsmall icon mdi-link-variant icon-third icon-large icon-margin-right-xsmall" href="tel:\${value.website}" target="_blank">\$value.website</a>` : `<div></div>`}
|
||||
| ${value.email != "" ? `<a class="link margin-bottom-xsmall icon mdi-email-outline icon-third icon-large icon-margin-right-xsmall" href="mailto:\${value.email}">\$value.email</a>` : `<div></div>`}
|
||||
| ${value.phone != "" ? `<a class="link margin-bottom-xsmall icon mdi-cellphone-iphone icon-third icon-large icon-margin-right-xsmall" href="tel:\${value.phone}">\$value.phone</a>` : `<div></div>`}
|
@ -0,0 +1,3 @@
|
||||
if componentSet.has('communities')
|
||||
solid-widget(name='hubl-communities-profile-twitter')
|
||||
template ${value != "" ? `<a class="segment children-link-rounded children-icon-social-twitter children-link-reversed color-secondary bordered margin-right-medium" href="${value}" target="_blank"><span></span></a>` : `<span></span>`}
|
@ -0,0 +1,3 @@
|
||||
if componentSet.has('communities')
|
||||
solid-widget(name='hubl-communities-profile-website')
|
||||
template ${value != "" ? `<a class="link margin-bottom-xsmall icon mdi-link-variant icon-third icon-large icon-margin-right-xsmall" href="tel:\${value}" target="_blank">$value</a>` : `<span></span>`}
|
Reference in New Issue
Block a user