Improve appearence of events table in taskDetail
This commit is contained in:
parent
65ca110b81
commit
164d81871a
@ -20,18 +20,23 @@
|
||||
<input type="submit" value="Submit">
|
||||
</form>
|
||||
|
||||
<table>
|
||||
<h2> Event Log </h2>
|
||||
<table class="table table-striped table-hover">
|
||||
<thead>
|
||||
<tr>
|
||||
<th> Date </th>
|
||||
<th> User </th>
|
||||
<th> Notes </th>
|
||||
</tr>
|
||||
{% for event in events %}
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for event in events|dictsortreversed:"date" %}
|
||||
<tr>
|
||||
<td> {{ event.date }} </td>
|
||||
<td class="text-nowrap"> {{ event.date }} </td>
|
||||
<td> {{ event.user }} </td>
|
||||
<td> {{ event.notes }} </td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
{% endblock %}
|
||||
|
Loading…
Reference in New Issue
Block a user