@let vwr = viewer(); @let entity = assertion(); @if ((vwr | canPerformApprovalActions) && (vwr | currentOrgCanApprove)) { Your approval actions will be executed under the authority granted to you by {{ vwr?.mostRecentOrg?.name }}. } @let listData = approvals(); {{ assertion()?.name }} is unapproved @if (vwr | canPerformApprovalActions) { @let entity = assertion(); @if (entity) { } } @if (approval.status !== listData[index - 1]?.status) { @switch (approval.status) { @case ('ACTIVE') { } @case ('REQUIRES_REVIEW') { } @case ('REVOKED') { } } }