123456789101112131415161718192021222324252627282930313233343536373839 |
- {% extends "hardware_provisioning/base.html" %}
- {% block title %}Emprunt d'objet - {{ block.super }}{% endblock %}
- {% block content %}
- <h2>J'emprunte à l'association…</h2>
- <table>
- <thead>
- <tr>
- <th>Type de matériel</th>
- <th>Désignation</th>
- <th>Dépôt</th>
- <th>Addr. MAC</th>
- <th>Num. de série</th>
- <th>Actions</th>
- </tr>
- </thead>
- <tbody>
- {% for i in items %}
- <tr>
- <td>{{ i.type }}</td>
- <td>{{ i.designation }}</td>
- <td>{{ i.storage|default:'inconnu' }}</td>
- <td>{{ i.mac_address|default:'n/a' }}</td>
- <td>{{ i.serial|default:'n/a' }}</td>
- <td class="actions">
- <div class="button-group">
- <a href="{% url 'hardware_provisioning:item-borrow' pk=i.pk %}" class="small button">
- <i class="fa fa-exchange"></i> Emprunter
- </a>
- </div>
- </td>
- </tr>
- {% endfor %}
- </tbody>
- </table>
- {% endblock %}
|