{% load i18n  %}

<div class="detail">
  <dl class="dl-horizontal">
    <dt>{% trans "ID" %}</dt>
    <dd>{{ credential.id }}</dd>
    <dt>{% trans "User ID" %}</dt>
    <dd>{{ credential.user_id }}</dd>
    <dt>{% trans "User Name" %}</dt>
    <dd>{{ credential.user_name }}</dd>
    <dt>{% trans "Project ID" %}</dt>
    <dd>{{ credential.project_id }}</dd>
    <dt>{% trans "Project Name" %}</dt>
    <dd>{{ credential.project_name }}</dd>
    <dt>{% trans "Type" %}</dt>
    <dd>{{ credential.type }}</dd>
    <dt>{% trans "Data" %}</dt>
    <dd>{{ credential.blob }}</dd>
    {% if qrcode_uri %}
      <img alt="{{ qrcode_uri }}" src="data:image/png;base64,{{ qrcode_uri }}" style="width:200pt;height:200pt" />
    {% endif %}
  </dl>
</div>

