patch: profile-edit + profile - rework on addresses
This commit is contained in:
@ -35,11 +35,11 @@ div.bg-color-white
|
||||
label-profile.linkedin=""
|
||||
label-profile.instagram=""
|
||||
|
||||
class-profile.shortDescription="segment margin-bottom-medium full sm-full padding-right-small sm-padding-none text-small text-semibold text-uppercase text-color-heading"
|
||||
class-profile.description="segment margin-bottom-medium full padding-right-small sm-padding-none text-small text-semibold text-uppercase text-color-heading"
|
||||
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"
|
||||
|
||||
class-segment="segment full"
|
||||
class-logo="edit-img edit-logo segment margin-bottom-medium full sm-full padding-right-small sm-padding-none text-small text-semibold text-uppercase text-color-heading"
|
||||
class-logo="edit-img edit-logo segment margin-bottom-medium full sm-padding-none text-small text-semibold text-uppercase text-color-heading"
|
||||
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"
|
||||
@ -93,27 +93,15 @@ div.bg-color-white
|
||||
|
||||
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")
|
||||
|
||||
solid-form.form(
|
||||
bind-resources
|
||||
nested-field="addresses"
|
||||
fields="address_line1, address_line2"
|
||||
|
||||
label-address_line1=""
|
||||
label-address_line2=""
|
||||
|
||||
class-address_line1="segment half sm-full sm-margin-bottom-xsmall padding-right-small text-small text-semibold text-uppercase text-color-heading"
|
||||
class-address_line2="segment half sm-full sm-margin-bottom-xsmall padding-left-small text-small text-semibold text-uppercase text-color-heading"
|
||||
|
||||
widget-community="solid-form-hidden"
|
||||
widget-address_line1="solid-form-label-text"
|
||||
widget-address_line2="solid-form-label-text"
|
||||
|
||||
submit-button=""
|
||||
submit-widget="button"
|
||||
|
||||
data-trans="label-address_line1=communities.edit.labelAddressLine1;label-address_line2=communities.edit.labelAddressLine2"
|
||||
)
|
||||
|
||||
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=''
|
||||
)
|
||||
|
||||
.segment.table-wrapper.margin-top-medium
|
||||
.table
|
||||
div.table-header.bg-color-third.text-color-heading
|
||||
@ -142,5 +130,30 @@ div.bg-color-white
|
||||
widget-remove='hubl-circle-edit-members-delete'
|
||||
)
|
||||
|
||||
solid-form.form.table-body.edit-address(
|
||||
bind-resources
|
||||
nested-field="addresses"
|
||||
fields="segment1(address_line1), segment2(address_line2), segment3(deleteButton)"
|
||||
|
||||
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"
|
||||
|
||||
widget-community="solid-form-hidden"
|
||||
widget-address_line1="solid-form-placeholder-text"
|
||||
widget-address_line2="solid-form-placeholder-text"
|
||||
|
||||
action-deleteButton=""
|
||||
widget-deleteButton=`hubl-communities-edit-delete-button`
|
||||
|
||||
data-trans="placeholder-address_line1=communities.edit.labelAddressLine1;placeholder-address_line2=communities.edit.labelAddressLine2"
|
||||
)
|
||||
|
||||
solid-ac-checker(no-permission="acl:Write", bind-resources)
|
||||
span(data-trans="communities.edit.noPermission")
|
||||
|
@ -30,7 +30,7 @@ div.community-profile.padding-medium.sm-padding-none
|
||||
class-segment7="segment lg-hidden sm-full"
|
||||
|
||||
class-segment8="segment two-third sm-full padding-bottom-large padding-bottom-xxsmall sm-text-left"
|
||||
class-addresses="segment block margin-bottom-xsmall icon icon-third icon-large icon-margin-right-xsmall"
|
||||
class-addresses="segment block margin-bottom-xsmall"
|
||||
class-members="segment block margin-bottom-xsmall"
|
||||
class-profile.website="segment block"
|
||||
class-profile.email="segment block"
|
||||
|
Reference in New Issue
Block a user