add table count to user list, padding to help bubble, better date formatting and tooltip

This commit is contained in:
2018-07-29 13:31:05 +02:00
parent 550cf30654
commit ffc5a42252
9 changed files with 52 additions and 16 deletions
+2 -1
View File
@@ -21,7 +21,8 @@ class DashController extends Controller
}
$users = User::orderBy('updated_at', 'desc')
->paginate(15, ['id', 'title', 'name'], 'pageu');
->withCount(['tables'])
->paginate(15, ['id', 'title', 'name', 'tables_count'], 'pageu');
// TODO visit counting
$tables = Table::forList()