@let btnConfig = buttonConfig(); @if (btnConfig) { } @if (this.mode() === 'endorse') { Endorse This Assertion } @else if (this.mode() === 'revoke') { Revoke This Assertion's Endorsement } @else if (this.mode() === 'approveChanges') { Approve Changes to This Assertion's Endorsement } You are about to formally Endorse this Assertion on behalf of {{ mostRecentOrg()?.name }} . Are you sure you wish to proceed? You are about to formally Revoke {{ mostRecentOrg()?.name }}'s Endorsement of this Assertion. Are you sure you wish to proceed? Before approving this Assertion's changes, ensure that they do not effect the original endorsement by {{ mostRecentOrg()?.name }}. @if (mode() === 'endorse' || mode() === 'approveChanges') { @let label = mode() === 'endorse' ? 'Endorse' : 'Approve Changes'; } @if (mode() === 'revoke') { @let comment = revocationComment(); }