From daddfdabe0d676324ef984b65d9d3b86378d2171 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Tue, 28 May 2019 21:04:18 -0600 Subject: [PATCH] Update activity view --- resources/views/account/activity.blade.php | 137 +-------------------- 1 file changed, 3 insertions(+), 134 deletions(-) diff --git a/resources/views/account/activity.blade.php b/resources/views/account/activity.blade.php index 1c8bf9970..0243a6d1d 100644 --- a/resources/views/account/activity.blade.php +++ b/resources/views/account/activity.blade.php @@ -1,145 +1,14 @@ @extends('layouts.app') @section('content') -
-
-
-
- -
-
-
- -
-
    - - @if($notifications->count() > 0) - @foreach($notifications as $notification) -
  • - @switch($notification->action) - - @case('like') - - - - - {!! $notification->rendered !!} - {{$notification->created_at->diffForHumans(null, true, true, true)}} - - - @if($notification->item_id && $notification->item_type == 'App\Status') - - @endif - - @break - - @case('follow') - - - - - {!! $notification->rendered !!} - {{$notification->created_at->diffForHumans(null, true, true, true)}} - - @if($notification->actor->followedBy(Auth::user()->profile) == false) - - - - @endif - @break - - @case('comment') - - - - - {!! $notification->rendered !!} - {{$notification->created_at->diffForHumans(null, true, true, true)}} - - - @if($notification->item_id && $notification->item_type == 'App\Status') - @if($notification->status->parent()) - -
    -
    - @endif - @endif -
    - @break - - @case('mention') - - - - - {!! $notification->rendered !!} - {{$notification->created_at->diffForHumans(null, true, true, true)}} - - - @if($notification->item_id && $notification->item_type === 'App\Status') - @if(is_null($notification->status->in_reply_to_id)) - -
    -
    - @else - -
    -
    - @endif - @endif -
    - @break - - @endswitch -
  • - @endforeach -
- -
- {{$notifications->links()}} -
- @else -
-
No unread notifications found.
-
- @endif -
+
+
@endsection @push('scripts') +