{% extends "hardware_provisioning/base.html" %} {% block title %}Mon matériel - {{ block.super }}{% endblock %} {% block content %} {% if view == 'old' %}
Type de matériel | Matériel prêté | Date de prêt | {% if view == 'old' %}Date retour | {% endif %}Addr. MAC | Num. de série | {% if view != 'old' %}Actions | {% endif %}
---|---|---|---|---|---|---|
{{ loan.item.type }} | {{ loan.item }} | {{ loan.loan_date }} | {% if view == 'old' %}{{ loan.loan_date_end }} | {% endif %}{{ loan.item.mac_address|default:"n/a" }} | {{ loan.item.serial|default:"n/a" }} | {% if view != 'old' %}{% endif %} |
… rien du tout ! |
{% if view == 'old' %} Afficher les prêts en cours {% else %} Afficher l'historique de prêt {% endif %}
{% endblock %}