fix: solid-ac-checker
This commit is contained in:
parent
a9c10fb196
commit
8e8af581e2
@ -11,7 +11,7 @@ div.bg-color-white
|
||||
|
||||
div.segment.full.padding-large.whitespace-normal
|
||||
|
||||
//- solid-ac-checker(permission="acl:Write", bind-resources)
|
||||
solid-ac-checker(permission="acl:Write", bind-resources)
|
||||
div.loader.loader-top(id=`loader-${component.route}-edit`)
|
||||
div
|
||||
div
|
||||
@ -104,6 +104,7 @@ div.bg-color-white
|
||||
widget-community="solid-form-hidden"
|
||||
widget-address_line1="solid-form-label-text"
|
||||
widget-address_line2="solid-form-label-text"
|
||||
value-address_line1="store://container.@id"
|
||||
|
||||
submit-button=""
|
||||
submit-widget="button"
|
||||
@ -111,28 +112,5 @@ div.bg-color-white
|
||||
data-trans="label-addresses.address_line1=communities.edit.labelAddressLine1;label-addresses.address_line2=communities.edit.labelAddressLine2"
|
||||
)
|
||||
|
||||
solid-table.form(
|
||||
selectable
|
||||
header
|
||||
bind-resources
|
||||
nested-fields='addresses'
|
||||
fields='address_line1, address_line2'
|
||||
|
||||
editable-address_line1
|
||||
editable-address_line2
|
||||
|
||||
label-address_line1=''
|
||||
label-address_line2=''
|
||||
|
||||
widget-address_line1='solid-form-label-text'
|
||||
widget-address_line2='solid-form-label-text'
|
||||
|
||||
submit-button=''
|
||||
submit-widget="button"
|
||||
next=`${component.route}-profile`
|
||||
|
||||
data-trans='label-addresses.address_line1=communities.edit.labelAddressLine1;label-addresses.address_line2=communities.edit.labelAddressLine2'
|
||||
)
|
||||
|
||||
//- solid-ac-checker(no-permission="acl:Write", bind-resources)
|
||||
//- span(data-trans="communities.edit.noPermission")
|
||||
solid-ac-checker(no-permission="acl:Write", bind-resources)
|
||||
span(data-trans="communities.edit.noPermission")
|
||||
|
@ -2,8 +2,9 @@ if componentSet.has('communities') && getRoute('communities')
|
||||
solid-widget(name='hubl-communities-edit-button')
|
||||
template
|
||||
solid-ac-checker(
|
||||
no-permission='acl:Control'
|
||||
permission='acl:Write'
|
||||
data-src="${src}"
|
||||
nested-field="profile"
|
||||
)
|
||||
solid-link(
|
||||
class="segment sm-full button text-xsmall text-bold text-uppercase text-center reversed color-secondary bordered icon icon-pencil"
|
||||
|
@ -2,4 +2,4 @@ if componentSet.has('communities') && getRoute('communities')
|
||||
solid-widget(name='hubl-communities-edit-email')
|
||||
template
|
||||
label(class="text-small text-semibold text-uppercase text-color-heading" data-trans="communities.edit.labelEmail")
|
||||
input(type="email" label="communities.edit.labelEmail" name="profile.email" required value="\${value}" data-holder)
|
||||
input(type="email" label="communities.edit.labelEmail" name="profile.email" value="\${value}" data-holder)
|
||||
|
Loading…
Reference in New Issue
Block a user