Un-butcher task system.

This commit is contained in:
Dane Everitt
2017-04-15 13:52:43 -04:00
parent 0fe9a4566e
commit 7f1a97184b
12 changed files with 154 additions and 77 deletions

View File

@@ -159,7 +159,7 @@
<a href="{{ route('server.tasks', $server->uuidShort)}}">
<i class="fa fa-clock-o"></i> <span>@lang('navigation.server.task_management')</span>
<span class="pull-right-container">
<span class="label label-primary pull-right">{{ \Pterodactyl\Models\Task::select('id')->where('server', $server->id)->where('active', 1)->count() }}</span>
<span class="label label-primary pull-right">{{ \Pterodactyl\Models\Task::select('id')->where('server_id', $server->id)->where('active', 1)->count() }}</span>
</span>
</a>
</li>