pixelfed/resources/views/settings/privacy/muted.blade.php

36 lines
1.4 KiB
PHP
Raw Normal View History

2018-08-31 04:26:23 +00:00
@extends('settings.template')
@section('section')
2023-12-16 12:36:59 +00:00
<div class="d-flex justify-content-between align-items-center">
<div class="title d-flex align-items-center" style="gap: 1rem;">
<p class="mb-0"><a href="/settings/privacy"><i class="far fa-chevron-left fa-lg"></i></a></p>
<h3 class="font-weight-bold mb-0">Muted Accounts</h3>
</div>
</div>
<hr />
@if($users->count() > 0)
<div class="list-group">
2018-08-31 04:26:23 +00:00
@foreach($users as $user)
2023-12-16 12:36:59 +00:00
<div class="list-group-item">
<div class="d-flex justify-content-between align-items-center font-weight-bold">
<span><a href="{{$user->url()}}" class="text-decoration-none text-dark"><img class="rounded-circle mr-3" src="{{$user->avatarUrl()}}" width="32px" onerror="this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';">{{$user->username}}</a></span>
<span class="btn-group">
<form method="post">
@csrf
<input type="hidden" name="profile_id" value="{{$user->id}}">
<button type="submit" class="btn btn-link btn-sm px-3 font-weight-bold">Unmute</button>
</form>
</span>
</div>
</div>
2018-08-31 04:26:23 +00:00
@endforeach
2023-12-16 12:36:59 +00:00
</div>
<div class="d-flex justify-content-center mt-3 font-weight-bold">
2018-08-31 04:26:23 +00:00
{{$users->links()}}
2023-12-16 12:36:59 +00:00
</div>
@else
<p class="lead text-center font-weight-bold">You are not muting any accounts.</p>
@endif
2018-08-31 04:26:23 +00:00
2023-12-16 12:36:59 +00:00
@endsection