hubl/src/views/partials/widgets/hubl-communities-edit-button.pug
Jean-Baptiste Pasquier 8e8af581e2 fix: solid-ac-checker
2021-04-09 14:39:09 +02:00

14 lines
548 B
Plaintext

if componentSet.has('communities') && getRoute('communities')
solid-widget(name='hubl-communities-edit-button')
template
solid-ac-checker(
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"
data-trans="communities.profile.edit"
data-src="${src}"
next=`${getRoute('communities', true)}-edit`
)