Fix changes from Django 2.0.6 -> Djang0 3.X.X with splice template tag
This commit is contained in:
1 parent
764b65e755
commit
2cc85c4f64
2 files changed
+3
-3
No files matched your search
@@ -20,7 +20,7 @@
|
||||
<tr>
|
||||
<td class="numeric">{{machine.id}}</td>
|
||||
<td>{{machine.user.username}}</td>
|
||||
<td>{{machine.osname|truncatewords:1|slice:":-4"}}</td>
|
||||
<td>{{machine.osname|truncatewords:1|slice:":-2"}}</td>
|
||||
<td>{{machine.updated|date:'Y-m-d H:i'}}</td>
|
||||
<td> <a href="/test/{{machine.workload.id}}">{{machine.workload.dev.name|prettyName}}</a></td>
|
||||
<td class="numeric">{{machine.threads}}</td>
|
||||
|
||||
@@ -118,7 +118,7 @@
|
||||
<tr>
|
||||
<td>{{result.machine.id}}</td>
|
||||
<td>{{result.machine.user.username|slice:"6"}}</td>
|
||||
<td>{{result.machine.osname|truncatewords:1|slice:":-4"}}</td>
|
||||
<td>{{result.machine.osname|truncatewords:1|slice:":-2"}}</td>
|
||||
<td>{{result.updated|date:'Y-m-d H:i'}}</td>
|
||||
<td class="numeric">{{result.games}}</td>
|
||||
<td class="numeric">{{result.wins}}</td>
|
||||
@@ -133,4 +133,4 @@
|
||||
|
||||
</div>
|
||||
|
||||
{% endblock %}
|
||||
{% endblock %}
|
||||
Reference in new issue
Block a user