8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-11-05 01:16:27 +00:00

Improve machine history results view

This commit is contained in:
Jean-Romain Garnier 2020-04-22 18:41:59 +02:00 committed by Gabriel Detraz
parent 448d9dbd92
commit b085c006bb

View file

@ -31,17 +31,21 @@ with this program; if not, write to the Free Software Foundation, Inc.,
<table class="table table-striped">
<thead>
<tr>
<th>User</th>
<th>IPv4</th>
<th>MAC</th>
<th>Start date</th>
<th>End date</th>
<th>Comment</th>
<th>{% trans "User" %}</th>
<th>{% trans "User" %}</th>
<th>{% trans "MAC address" %}</th>
<th>{% trans "Start date" %}</th>
<th>{% trans "End date" %}</th>
<th>{% trans "Comment" %}</th>
</tr>
</thead>
{% for event in events %}
<tr>
<td>{{ event.user.pseudo }}</td>
<td>
<a href="{% url 'users:profil' userid=event.user.id %}" title=tr_view_the_profile>
<i class="fa fa-user"></i> {{ event.user }}
</a>
</td>
<td>{{ event.ipv4 }}</td>
<td>{{ event.mac }}</td>
<td>{{ event.start_date }}</td>