kopia lustrzana https://github.com/pixelfed/pixelfed
				
				
				
			Add mention notifications
							rodzic
							
								
									dd60413394
								
							
						
					
					
						commit
						7139b5f380
					
				|  | @ -61,6 +61,23 @@ | ||||||
|           </span> |           </span> | ||||||
|         @break |         @break | ||||||
| 
 | 
 | ||||||
|  |         @case('mention') | ||||||
|  |           <span class="notification-icon pr-3"> | ||||||
|  |             <img src="{{$notification->status->profile->avatarUrl()}}" width="32px" class="rounded-circle"> | ||||||
|  |           </span> | ||||||
|  |           <span class="notification-text"> | ||||||
|  |             {!! $notification->rendered !!} | ||||||
|  |             <span class="text-muted notification-timestamp pl-1">{{$notification->created_at->diffForHumans(null, true, true, true)}}</span> | ||||||
|  |           </span> | ||||||
|  |           <span class="float-right notification-action"> | ||||||
|  |             @if($notification->item_id) | ||||||
|  |               <a href="{{$notification->status->url()}}"> | ||||||
|  |                 <div class="notification-image" style="background-image: url('{{$notification->status->thumb()}}')"></div> | ||||||
|  |               </a> | ||||||
|  |             @endif | ||||||
|  |           </span> | ||||||
|  |         @break | ||||||
|  | 
 | ||||||
|         @endswitch |         @endswitch | ||||||
|       </li> |       </li> | ||||||
|       @endforeach |       @endforeach | ||||||
|  |  | ||||||
		Ładowanie…
	
		Reference in New Issue
	
	 Daniel Supernault
						Daniel Supernault