8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-11-23 11:53:12 +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"> <table class="table table-striped">
<thead> <thead>
<tr> <tr>
<th>User</th> <th>{% trans "User" %}</th>
<th>IPv4</th> <th>{% trans "User" %}</th>
<th>MAC</th> <th>{% trans "MAC address" %}</th>
<th>Start date</th> <th>{% trans "Start date" %}</th>
<th>End date</th> <th>{% trans "End date" %}</th>
<th>Comment</th> <th>{% trans "Comment" %}</th>
</tr> </tr>
</thead> </thead>
{% for event in events %} {% for event in events %}
<tr> <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.ipv4 }}</td>
<td>{{ event.mac }}</td> <td>{{ event.mac }}</td>
<td>{{ event.start_date }}</td> <td>{{ event.start_date }}</td>