Rather than do a permissions check (which might be custom or diffferent for different entities), just check if the form already has a delete button. And if it doesn't, then don't add a "delete translation" button.

Comments

douggreen’s picture

StatusFileSize
new612 bytes

Attaching a new patch that is relative to module root.

plach’s picture

Status: Needs review » Reviewed & tested by the community

Thanks :)

plach’s picture

Status: Reviewed & tested by the community » Fixed

Committed and pushed, thanks!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

  • Commit 5fa679a on 7.x-1.x, et-fc, revisions authored by douggreen, committed by plach:
    Issue #2072865 by douggreen: Fixed Only replace 'delete' button with '...

  • Commit 5fa679a on 7.x-1.x, et-fc, revisions, workbench authored by douggreen, committed by plach:
    Issue #2072865 by douggreen: Fixed Only replace 'delete' button with '...