This commit is contained in:
ThatOneCalculator 2022-07-18 22:14:03 -07:00
parent 5ca8b75343
commit e1309d687c
1 changed files with 26 additions and 23 deletions

View File

@ -1,27 +1,30 @@
<template> <template>
<div> <MkStickyContainer>
<MkPagination ref="paginationComponent" :pagination="pagination"> <template #header><MkPageHeader/></template>
<template #empty> <MkSpacer :content-max="800">
<div class="_fullinfo"> <MkPagination ref="paginationComponent" :pagination="pagination">
<img src="/static-assets/badges/info.jpg" class="_ghost" alt="Info"/> <template #empty>
<div>{{ $ts.noFollowRequests }}</div> <div class="_fullinfo">
</div> <img src="https://xn--931a.moe/assets/info.jpg" class="_ghost"/>
</template> <div>{{ $ts.noFollowRequests }}</div>
<template #default="{items}"> </div>
<div class="mk-follow-requests"> </template>
<div v-for="req in items" :key="req.id" class="user _panel"> <template #default="{items}">
<MkAvatar class="avatar" :user="req.follower" :show-indicator="true"/> <div class="mk-follow-requests">
<div class="body"> <div v-for="req in items" :key="req.id" class="user _panel">
<div class="name"> <MkAvatar class="avatar" :user="req.follower" :show-indicator="true"/>
<MkA v-user-preview="req.follower.id" class="name" :to="userPage(req.follower)"><MkUserName :user="req.follower"/></MkA> <div class="body">
<p class="acct">@{{ acct(req.follower) }}</p> <div class="name">
</div> <MkA v-user-preview="req.follower.id" class="name" :to="userPage(req.follower)"><MkUserName :user="req.follower"/></MkA>
<div v-if="req.follower.description" class="description" :title="req.follower.description"> <p class="acct">@{{ acct(req.follower) }}</p>
<Mfm :text="req.follower.description" :is-note="false" :author="req.follower" :i="$i" :custom-emojis="req.follower.emojis" :plain="true" :nowrap="true"/> </div>
</div> <div v-if="req.follower.description" class="description" :title="req.follower.description">
<div class="actions"> <Mfm :text="req.follower.description" :is-note="false" :author="req.follower" :i="$i" :custom-emojis="req.follower.emojis" :plain="true" :nowrap="true"/>
<button class="_button" @click="accept(req.follower)"><i class="fas fa-check"></i></button> </div>
<button class="_button" @click="reject(req.follower)"><i class="fas fa-times"></i></button> <div class="actions">
<button class="_button" @click="accept(req.follower)"><i class="fas fa-check"></i></button>
<button class="_button" @click="reject(req.follower)"><i class="fas fa-times"></i></button>
</div>
</div> </div>
</div> </div>
</div> </div>