Browse Source

Improve machine history results view

release-2.9
Jean-Romain Garnier 6 years ago
committed by Gabriel Detraz
parent
commit
b085c006bb
  1. 18
      logs/templates/logs/machine_history.html

18
logs/templates/logs/machine_history.html

@ -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>

Loading…
Cancel
Save