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