diff --git a/resources/views/admin/apps/home.blade.php b/resources/views/admin/apps/home.blade.php index 8aaeb1170..aa8dfc0f2 100644 --- a/resources/views/admin/apps/home.blade.php +++ b/resources/views/admin/apps/home.blade.php @@ -17,7 +17,8 @@
- +
+
@@ -45,4 +46,5 @@ @endforeach
#
+ @endsection \ No newline at end of file diff --git a/resources/views/admin/home.blade.php b/resources/views/admin/home.blade.php index 31d882b5f..4e49f5655 100644 --- a/resources/views/admin/home.blade.php +++ b/resources/views/admin/home.blade.php @@ -11,10 +11,10 @@
-

Alerts

-

0

+

New Messages

+

{{$data['contact']['count']}}

- +
diff --git a/resources/views/admin/messages/home.blade.php b/resources/views/admin/messages/home.blade.php new file mode 100644 index 000000000..ee0b86e6e --- /dev/null +++ b/resources/views/admin/messages/home.blade.php @@ -0,0 +1,36 @@ +@extends('admin.partial.template-full') + +@section('section') +
+

Messages

+
+ +
+
+ + + + + + + + + + + @foreach($messages as $msg) + + + + + + + @endforeach + +
#UserMessageCreated
+ + {{$msg->id}} + + {{$msg->user->username}}{{str_limit($msg->message, 40)}}{{$msg->created_at->diffForHumans()}}
+
+{{$messages->links()}} +@endsection \ No newline at end of file diff --git a/resources/views/admin/partial/topnav.blade.php b/resources/views/admin/partial/topnav.blade.php index 2e4ad6918..2a6ee4952 100644 --- a/resources/views/admin/partial/topnav.blade.php +++ b/resources/views/admin/partial/topnav.blade.php @@ -8,8 +8,8 @@ -