@if ((tokenType() === "passkey" || tokenType() === "hotp") && isAttachedToMachine()) {

{{ " (Offline)" }}

}
{{ element.keyMap.label }} @switch (element.keyMap.key) { @case ("container_serial") { @if (element.isEditing()) { Enter Container @for (option of containerService.containersForTokenType(); track option) { {{ option }} } } @else {
@if (containerService.containerBelongsToUser(element.value)) { {{ element.value }} } @else { {{ element.value }} } @if (element.value !== "") { }
} } @case ("realms") {
@for (realm of element.value; track realm) { • {{ realm }} }
} @case ("tokengroup") {
@for (tokengroup of element.value; track tokengroup) { • {{ tokengroup }} }
} @case ("description") { @if (element.isEditing()) { {{ element.value?.length || 0 }} / {{ tokenService.maxDescriptionLength }} } @else {
{{ element.value }}
} } @default { @if (element.isEditing() && isNumberElement(element.keyMap.key)) { } @else if (element.isEditing()) { } @else {
{{ tableUtilsService.getDisplayTextForKeyAndRevoked( element.keyMap.key, element.value, tokenIsRevoked() ) }}
} } }
@if ( element.keyMap.key === "failcount" && !isAnyEditingOrRevoked() && authService.actionAllowed("reset") ) {
} @else if ( element.keyMap.key === "container_serial" && !isAnyEditingOrRevoked() && element.value && authService.actionAllowed("container_remove_token") ) {
} @else if (isEditableElement(element.keyMap.key)) { }
@if (tokenType() === "sshkey" || tokenType() === "hotp") { }