From defc4552042ca192a3da35280016b5e1a8248ceb Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Wed, 12 Jun 2019 19:12:15 -0600 Subject: [PATCH] Add relationship settings view --- .../settings/relationships/home.blade.php | 117 ++++++++++++++++++ 1 file changed, 117 insertions(+) create mode 100644 resources/views/settings/relationships/home.blade.php diff --git a/resources/views/settings/relationships/home.blade.php b/resources/views/settings/relationships/home.blade.php new file mode 100644 index 000000000..1332e3f88 --- /dev/null +++ b/resources/views/settings/relationships/home.blade.php @@ -0,0 +1,117 @@ +@extends('settings.template') + +@section('section') + +
+

Followers & Following

+
+
+ @if(empty($following) && empty($followers)) +

You are not following anyone, or followed by anyone.

+ @else + + + + + + + + + + + @foreach($followers as $follower) + + + + + + + @endforeach + + @foreach($following as $follower) + + + + + + + @endforeach + +
+ + UsernameRelationshipAction
+ {{-- --}} + + {{$follower->username}} + Follower + Mute + Block +
+ + + {{$follower->username}} + Following + Unfollow +
+
{{$following->links() ?? $followers->links()}}
+ @endif +@endsection + +@push('scripts') + +@endpush \ No newline at end of file