Update Machine to be tied to a User, not a string
This commit is contained in:
1 parent
2917b90784
commit
b295842066
5 files changed
+14
-15
No files matched your search
@@ -19,8 +19,8 @@
|
||||
{% for machine in machines %}
|
||||
<tr>
|
||||
<td class="numeric">{{machine.id}}</td>
|
||||
<td>{{machine.owner}}</td>
|
||||
<td>{{machine.osname}}</td>
|
||||
<td>{{machine.user.username}}</td>
|
||||
<td>{{machine.osname|truncatewords:1|slice:":-4"}}</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>
|
||||
|
||||
@@ -117,7 +117,7 @@
|
||||
{% for result in results %}
|
||||
<tr>
|
||||
<td>{{result.machine.id}}</td>
|
||||
<td>{{result.machine.owner|slice:"6"}}</td>
|
||||
<td>{{result.machine.user.username|slice:"6"}}</td>
|
||||
<td>{{result.machine.osname|truncatewords:1|slice:":-4"}}</td>
|
||||
<td>{{result.updated|date:'Y-m-d H:i'}}</td>
|
||||
<td class="numeric">{{result.games}}</td>
|
||||
|
||||
Reference in new issue
Block a user