{% extends "base.html" %}
{% load i18n %}
{% load pagination_tags %}

{% block page-title %}{% trans "Phone list" %}{% endblock %}

{% block sub-navigation %}
  <ul>
    <li><a href="/company/phonelist" style="font-weight: bold;">{% trans "Phone list" %}</a> |</li>
    <li><a href="/company/books">{% trans "Books" %}</a> |</li>
    <li><a href="/company/hardware">{% trans "Hardware" %}</a> |</li>
    <li><a href="/company/software">{% trans "Software" %}</a> |</li>
  </ul>
{% endblock %}

{% block content %}
  <div id="phonelist" class="default-list">
    <table id="booking-list" class="default-table">
      <thead>
        {% include "phone_heading.html" %}
      </thead>
      <tbody>
        {% for user in employees %}
          {% include "phone_row.html" %}
        {% empty %}
          <tr><td colspan="2">{% trans "No entries found" %}</td></tr>
        {% endfor %}
      </tbody>
    </table>
  </div>
{% endblock %}
