{% extends "ui/panels/_base.html" %}
{% load helpers i18n %}

{% block panel_content %}
  {% if object.installed_device %}
    {% with device=object.installed_device %}
      <table class="table table-hover attr-table">
        <tr>
          <th scope="row">{% trans "Device" %}</th>
          <td>{{ device|linkify }}</td>
        </tr>
        <tr>
          <th scope="row">{% trans "Device type" %}</th>
          <td>{{ device.device_type }}</td>
        </tr>
      </table>
    {% endwith %}
  {% else %}
    <div class="card-body text-muted">{% trans "None" %}</div>
  {% endif %}
{% endblock panel_content %}
