diff --git a/skolehjem/resources/views/admin/index.blade.php b/skolehjem/resources/views/admin/index.blade.php index f3508d4..4273d0f 100644 --- a/skolehjem/resources/views/admin/index.blade.php +++ b/skolehjem/resources/views/admin/index.blade.php @@ -60,7 +60,7 @@ Nyeste brugere - @for($i = 0; $i < 5 && $i < count(\App\User::query()->orderByDesc("id")->get()); $i++) + @for($i = 0; $i < 10 && $i < count(\App\User::query()->orderByDesc("id")->get()); $i++) {{ ucfirst(strtolower(\App\User::query()->orderByDesc("id")->get()[$i]->name_first)) . ' ' . ucfirst(strtolower(\App\User::query()->orderByDesc("id")->get()[$i]->name_last)) }} @@ -110,7 +110,7 @@ @endif
- +
@@ -139,7 +139,7 @@ @if(count(\App\Guide::all()) > 0) - @for($i = 0; $i < 5 && $i < count(\App\Guide::query()->orderByDesc("id")->get()); $i++) + @for($i = 0; $i < 10 && $i < count(\App\Guide::query()->orderByDesc("id")->get()); $i++) @@ -163,7 +163,7 @@
{!! \App\Helpers::closetags(substr(\App\Event::query()->orderByDesc("date")->first()->description, 0, 300) )!!}
Seneste Vejledninger
{{ ucfirst(strtolower(\App\Guide::query()->orderByDesc("id")->get()[$i]->name)) }}
- + @if(\App\MenuPlan::query()->where("week", "=", date('W'))->first() !== null) {{-- \App\MenuPlan::query()->where("week", "=", date('W'))->first() --}}
Ugens Menuplan