Commit c4f26740 by Őry Máté

firewall_gui: correct hostname on host-list

parent 18b1b450
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
<th colspan="2">Leírás</th> <th colspan="2">Leírás</th>
</tr> </tr>
<tr ng-repeat="host in getPage()"> <tr ng-repeat="host in getPage()">
<td>{{host.name}}</td> <td>{{host.hostname}}</td>
<td> <td>
<a href="#/vlans/{{host.vlan.id}}">{{host.vlan.name}}</a> <a href="#/vlans/{{host.vlan.id}}">{{host.vlan.name}}</a>
</td> </td>
......
...@@ -100,6 +100,7 @@ def list_entities(request, name): ...@@ -100,6 +100,7 @@ def list_entities(request, name):
'description']), 'description']),
'hosts': make_entity_lister(Host, [ 'hosts': make_entity_lister(Host, [
'id', 'id',
'hostname',
'reverse', 'reverse',
'ipv4', 'ipv4',
'shared_ip', 'shared_ip',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment