{extends file=$smarty.const.SMARTY_LAYOUT_CONTENT_LIST_TABLE_CURRENT_DATA}

{block name="listing-tr-class"}
	{if $rowFields['isRevoked']}
		disabled
	{/if}
{/block}

{block name="listing-td-content-tokenId"}
	<span class="help" tooltip="{strip}
		<div>Token identifier (jti) used to track and revoke this token. The access token itself - a signed JWT - is issued to the client only once and is never stored by TINA, so it cannot be shown here.</div>
	{/strip}">{$rowFields['tokenId']}</span>
{/block}

{block name="listing-td-content-clientId"}
	<span tooltip="Client ID: {$rowFields['clientId']}">{$rowFields['clientName']}</span>
{/block}

{block name="listing-td-content-idUser"}
	{userLabel ref=$rowFields['idUser']}
{/block}

{block name="listing-td-content-status"}
	{if $rowFields['isRevoked']}Revoked{else}Active{/if}
{/block}
