Cleanup location model and controller for Admin.

This commit is contained in:
Dane Everitt 2017-02-10 17:09:56 -05:00
parent 0720bfe62f
commit ba175e6b55
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
3 changed files with 27 additions and 21 deletions

View file

@ -46,8 +46,8 @@
<tr>
<td><code>{{ $location->short }}</code></td>
<td>{{ $location->long }}</td>
<td class="text-center">{{ $location->a_nodeCount }}</td>
<td class="text-center">{{ $location->a_serverCount }}</td>
<td class="text-center">{{ $location->nodes_count }}</td>
<td class="text-center">{{ $location->servers_count }}</td>
<td class="text-center"><a href="#edit"><i class="fa fa-wrench" data-toggle="modal" data-target="#editModal" data-action="edit" data-id="{{ $location->id }}" data-short="{{ $location->short }}" data-long="{{ $location->long }}"></i></a></td>
<td class="text-center"><a href="#delete" class="text-danger" data-action="delete" data-id="{{ $location->id }}"><i class="fa fa-trash-o"></i></a></td>
</tr>