1234567891011121314151617181920212223242526272829303132333435363738 |
- {% extends "base.html" %}
- {% 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> Déclarer l'emprunt
- </a>
- </div>
- </td>
- </tr>
- {% endfor %}
- </tbody>
- </table>
- {% endblock %}
|