2021-04-08 14:08:42 +00:00
|
|
|
div.bg-color-white
|
2021-04-09 11:28:39 +00:00
|
|
|
solid-ac-checker(permission="acl:Read", bind-resources)
|
2021-04-08 14:08:42 +00:00
|
|
|
div.segment.full.padding-large.border-bottom.border-color-grey
|
|
|
|
div.segment.half.sm-full
|
|
|
|
solid-display.text-color-heading.text-bold.text-xxlarge.text-letter-spacing-large(
|
|
|
|
bind-resources
|
2021-04-09 11:28:39 +00:00
|
|
|
fields="name"
|
2021-04-08 14:08:42 +00:00
|
|
|
)
|
|
|
|
div.segment.half.sm-hidden.text-right
|
|
|
|
solid-link(class="backlink", bind-resources, next=`${component.route}-profile` data-trans="communities.back")
|
|
|
|
|
|
|
|
div.segment.full.padding-large.whitespace-normal
|
|
|
|
|
2021-04-09 12:39:09 +00:00
|
|
|
solid-ac-checker(permission="acl:Write", bind-resources)
|
|
|
|
div.loader.loader-top(id=`loader-${component.route}-edit`)
|
|
|
|
div
|
|
|
|
div
|
|
|
|
div
|
|
|
|
div
|
2021-04-09 11:28:39 +00:00
|
|
|
|
2021-04-09 12:39:09 +00:00
|
|
|
solid-form.form(
|
|
|
|
bind-resources
|
|
|
|
loader-id=`loader-${component.route}-edit`
|
2021-04-09 11:28:39 +00:00
|
|
|
|
2021-04-09 12:39:09 +00:00
|
|
|
fields="profile.shortDescription, profile.description, segment(logo), profile.website, profile.email, profile.phone, profile.tweeter, profile.facebook, profile.linkedin, segment1(profile.instagram)"
|
2021-04-09 11:28:39 +00:00
|
|
|
|
2021-04-09 12:39:09 +00:00
|
|
|
label-profile.shortDescription=""
|
|
|
|
label-profile.description=""
|
|
|
|
label-logo=""
|
|
|
|
label-profile.website=""
|
|
|
|
label-profile.email=""
|
|
|
|
label-profile.phone=""
|
|
|
|
label-profile.tweeter=""
|
|
|
|
label-profile.facebook=""
|
|
|
|
label-profile.linkedin=""
|
|
|
|
label-profile.instagram=""
|
2021-04-09 11:28:39 +00:00
|
|
|
|
2021-04-13 21:48:28 +00:00
|
|
|
class-profile.shortDescription="segment margin-bottom-medium full text-small text-semibold text-uppercase text-color-heading"
|
|
|
|
class-profile.description="segment margin-bottom-medium full text-small text-semibold text-uppercase text-color-heading"
|
2021-04-09 11:28:39 +00:00
|
|
|
|
2021-04-09 12:39:09 +00:00
|
|
|
class-segment="segment full"
|
2021-04-13 21:48:28 +00:00
|
|
|
class-logo="edit-img edit-logo segment margin-bottom-medium full sm-padding-none text-small text-semibold text-uppercase text-color-heading"
|
2021-04-09 12:39:09 +00:00
|
|
|
class-profile.website="segment margin-bottom-medium third sm-full padding-right-small sm-padding-none"
|
|
|
|
class-profile.email="segment margin-bottom-medium third sm-full padding-right-small padding-left-small sm-padding-none"
|
|
|
|
class-profile.phone="segment margin-bottom-medium third sm-full padding-left-small sm-padding-none text-small text-semibold text-uppercase text-color-heading"
|
2021-04-09 11:28:39 +00:00
|
|
|
|
2021-04-09 12:39:09 +00:00
|
|
|
class-profile.tweeter="segment margin-bottom-medium third sm-full padding-right-small sm-padding-none text-small text-semibold text-uppercase text-color-heading"
|
|
|
|
class-profile.facebook="segment margin-bottom-medium third sm-full padding-right-small padding-left-small sm-padding-none text-small text-semibold text-uppercase text-color-heading"
|
|
|
|
class-profile.linkedin="segment margin-bottom-medium third sm-full padding-left-small sm-padding-none text-small text-semibold text-uppercase text-color-heading"
|
|
|
|
class-segment1="segment full"
|
|
|
|
class-profile.instagram="segment margin-bottom-medium third sm-full padding-right-small sm-padding-none text-small text-semibold text-uppercase text-color-heading"
|
2021-04-09 11:28:39 +00:00
|
|
|
|
2021-04-09 12:39:09 +00:00
|
|
|
widget-profile.description="solid-form-richtext-label"
|
|
|
|
widget-profile.email="hubl-communities-edit-email"
|
|
|
|
widget-profile.website="hubl-communities-edit-website"
|
|
|
|
upload-url-logo=component.endpoints.uploads
|
|
|
|
widget-logo="solid-form-image-label"
|
2021-04-09 11:28:39 +00:00
|
|
|
|
2021-04-09 12:39:09 +00:00
|
|
|
submit-button=""
|
|
|
|
submit-widget="button"
|
2021-05-14 18:19:55 +00:00
|
|
|
class-submit-button="submit-button segment sm-full margin-top-xsmall text-xsmall children-link-button children-link-text-bold children-link-text-uppercase children-link-reversed color-secondary bordered children-button-icon children-icon-rocket children-icon-small children-icon-margin-right-xsmall"
|
2021-04-09 11:28:39 +00:00
|
|
|
|
2021-04-09 12:39:09 +00:00
|
|
|
data-trans="label-logo=communities.edit.labelLogo;label-profile.shortDescription=communities.edit.labelShortDescription;label-profile.description=communities.edit.labelDescription;label-profile.phone=communities.edit.labelPhone;label-profile.tweeter=communities.edit.labelTwitter;label-profile.facebook=communities.edit.labelFacebook;label-profile.linkedin=communities.edit.labelLinkedin;label-profile.instagram=communities.edit.labelInstagram;submit-button=communities.edit.buttonSubmit"
|
|
|
|
)
|
2021-04-09 11:28:39 +00:00
|
|
|
|
2021-04-09 12:39:09 +00:00
|
|
|
h3.segment.full.padding-bottom-small.border-bottom.border-color-grey.text-color-heading.text-bold.text-letter-spacing-large(data-trans="communities.edit.subTitle")
|
2021-04-09 11:28:39 +00:00
|
|
|
|
2021-04-09 12:39:09 +00:00
|
|
|
solid-form.form(
|
|
|
|
bind-resources
|
2021-04-09 11:28:39 +00:00
|
|
|
|
2021-04-09 12:39:09 +00:00
|
|
|
fields="profile.picture1, profile.picture2, profile.picture3"
|
2021-04-09 11:28:39 +00:00
|
|
|
|
2021-04-09 12:39:09 +00:00
|
|
|
upload-url-profile.picture1=component.endpoints.uploads
|
|
|
|
upload-url-profile.picture2=component.endpoints.uploads
|
|
|
|
upload-url-profile.picture3=component.endpoints.uploads
|
2021-04-09 11:28:39 +00:00
|
|
|
|
2021-04-09 12:39:09 +00:00
|
|
|
widget-profile.picture1="solid-form-image-label"
|
|
|
|
widget-profile.picture2="solid-form-image-label"
|
|
|
|
widget-profile.picture3="solid-form-image-label"
|
2021-04-09 11:28:39 +00:00
|
|
|
|
2021-04-09 12:39:09 +00:00
|
|
|
label-profile.picture1=""
|
|
|
|
label-profile.picture2=""
|
|
|
|
label-profile.picture3=""
|
2021-04-09 11:28:39 +00:00
|
|
|
|
2021-04-13 19:30:25 +00:00
|
|
|
class-profile.picture1="edit-img edit-picture segment margin-bottom-medium third sm-full padding-right-small sm-padding-none text-small text-semibold text-uppercase text-color-heading text-top"
|
|
|
|
class-profile.picture2="edit-img edit-picture segment margin-bottom-medium third sm-full padding-right-small padding-left-small sm-padding-none text-small text-semibold text-uppercase text-color-heading text-top"
|
|
|
|
class-profile.picture3="edit-img edit-picture segment margin-bottom-medium third sm-full padding-left-small sm-padding-none text-small text-semibold text-uppercase text-color-heading text-top"
|
2021-04-09 11:28:39 +00:00
|
|
|
|
2021-04-09 12:39:09 +00:00
|
|
|
submit-button=""
|
|
|
|
submit-widget="button"
|
2021-05-14 18:19:55 +00:00
|
|
|
class-submit-button="submit-button segment sm-full margin-top-xsmall text-xsmall children-link-button children-link-text-bold children-link-text-uppercase children-link-reversed color-secondary bordered children-button-icon children-icon-rocket children-icon-small children-icon-margin-right-xsmall"
|
2021-04-09 11:28:39 +00:00
|
|
|
|
2021-04-09 12:39:09 +00:00
|
|
|
data-trans="label-profile.picture1=communities.edit.labelPicture1;label-profile.picture2=communities.edit.labelPicture2;label-profile.picture3=communities.edit.labelPicture3;submit-button=communities.edit.buttonSubmit"
|
|
|
|
)
|
2021-04-09 11:28:39 +00:00
|
|
|
|
2021-04-09 12:39:09 +00:00
|
|
|
h3.segment.full.padding-bottom-small.border-bottom.border-color-grey.text-color-heading.text-bold.text-letter-spacing-large(data-trans="communities.edit.subTitle1")
|
2021-04-09 11:28:39 +00:00
|
|
|
|
2021-04-13 21:48:28 +00:00
|
|
|
solid-widget(name=`hubl-communities-edit-delete-button`)
|
|
|
|
template
|
|
|
|
solid-delete(
|
|
|
|
class='segment text-xsmall children-link-button children-link-text-bold children-link-text-uppercase children-link-color-secondary bordered'
|
|
|
|
data-src="${src}"
|
|
|
|
data-label=''
|
|
|
|
data-trans=''
|
|
|
|
)
|
|
|
|
|
2021-04-13 19:30:25 +00:00
|
|
|
.segment.table-wrapper.margin-top-medium
|
|
|
|
.table
|
|
|
|
div.table-header.bg-color-third.text-color-heading
|
|
|
|
div.segment.table-cell.third(data-trans='communities.edit.tableHeader1')
|
|
|
|
div.segment.table-cell.third(data-trans='communities.edit.tableHeader2')
|
|
|
|
div.segment.table-cell.third
|
|
|
|
|
|
|
|
solid-display(
|
|
|
|
class='table-body'
|
|
|
|
bind-resources
|
|
|
|
nested-field='addresses'
|
|
|
|
fields='segment1(address_line1), segment2(address_line2), remove'
|
|
|
|
loader-id=`loader-${component.route}-edit`
|
|
|
|
|
|
|
|
class-segment1='segment table-cell third'
|
|
|
|
class-segment2='segment table-cell third'
|
|
|
|
class-remove='segment table-cell third text-center'
|
|
|
|
|
|
|
|
class-address_line1='text-small text-semibold'
|
|
|
|
class-address_line2='text-small text-semibold'
|
|
|
|
|
|
|
|
multiple-addresses
|
|
|
|
multiple-addresses-fields="address_line1, address_line2"
|
|
|
|
|
2021-04-13 20:18:24 +00:00
|
|
|
action-remove='remove'
|
2021-04-13 19:30:25 +00:00
|
|
|
widget-remove='hubl-circle-edit-members-delete'
|
|
|
|
)
|
2021-04-09 11:28:39 +00:00
|
|
|
|
2021-04-13 21:48:28 +00:00
|
|
|
solid-form.form.table-body.edit-address(
|
|
|
|
bind-resources
|
|
|
|
nested-field="addresses"
|
2021-04-13 22:17:03 +00:00
|
|
|
fields="segment1(address_line1), segment2(address_line2), lat, lng, segment3(addButton)"
|
2021-04-13 21:48:28 +00:00
|
|
|
|
|
|
|
placeholder-address_line1=""
|
|
|
|
placeholder-address_line2=""
|
|
|
|
|
|
|
|
class-segment1='segment table-cell third'
|
|
|
|
class-segment2='segment table-cell third'
|
|
|
|
class-segment3='segment table-cell third text-center'
|
|
|
|
|
|
|
|
class-address_line1="segment full text-small"
|
|
|
|
class-address_line2="segment full text-small"
|
|
|
|
|
2021-04-13 22:17:03 +00:00
|
|
|
class-lat="hidden"
|
|
|
|
class-lng="hidden"
|
|
|
|
|
2021-04-13 21:48:28 +00:00
|
|
|
widget-community="solid-form-hidden"
|
|
|
|
widget-address_line1="solid-form-placeholder-text"
|
|
|
|
widget-address_line2="solid-form-placeholder-text"
|
2021-04-13 22:17:03 +00:00
|
|
|
widget-lat="solid-form-hidden"
|
|
|
|
widget-lng="solid-form-hidden"
|
|
|
|
widget-addButton=`hubl-communities-edit-add-button`
|
2021-04-13 21:48:28 +00:00
|
|
|
|
|
|
|
data-trans="placeholder-address_line1=communities.edit.labelAddressLine1;placeholder-address_line2=communities.edit.labelAddressLine2"
|
|
|
|
)
|
|
|
|
|
2021-04-09 12:39:09 +00:00
|
|
|
solid-ac-checker(no-permission="acl:Write", bind-resources)
|
|
|
|
span(data-trans="communities.edit.noPermission")
|