mirror of
https://iceshrimp.dev/crimekillz/trashposs
synced 2024-11-22 08:53:48 +01:00
Merge branch 'develop' of codeberg.org:calckey/calckey into develop
This commit is contained in:
commit
e3076c2eb9
@ -334,7 +334,7 @@ _widgets:
|
|||||||
calendar: Calendari
|
calendar: Calendari
|
||||||
activity: Activitat
|
activity: Activitat
|
||||||
photos: Fotos
|
photos: Fotos
|
||||||
rssTicker: Ticker RSS
|
rssTicker: Teletip RSS
|
||||||
onlineUsers: Usuaris en línia
|
onlineUsers: Usuaris en línia
|
||||||
memo: Notes adhesives
|
memo: Notes adhesives
|
||||||
digitalClock: Rellotge digital
|
digitalClock: Rellotge digital
|
||||||
@ -1765,7 +1765,7 @@ welcomeBackWithName: Benvingut de nou, {name}
|
|||||||
showLocalPosts: 'Mostra les notes locals a:'
|
showLocalPosts: 'Mostra les notes locals a:'
|
||||||
homeTimeline: Línea de temps Inicial
|
homeTimeline: Línea de temps Inicial
|
||||||
socialTimeline: Línea de temps Social
|
socialTimeline: Línea de temps Social
|
||||||
themeColor: Color del Ticker del servidor
|
themeColor: Color del Teletip del servidor
|
||||||
size: Mida
|
size: Mida
|
||||||
numberOfColumn: Nombre de columnes
|
numberOfColumn: Nombre de columnes
|
||||||
numberOfPageCache: Nombre de pàgines emmagatzemades a la memòria cau
|
numberOfPageCache: Nombre de pàgines emmagatzemades a la memòria cau
|
||||||
@ -2054,3 +2054,5 @@ accessibility: Accessibilitat
|
|||||||
jumpToReply: Vés a la resposta
|
jumpToReply: Vés a la resposta
|
||||||
newer: Més nou
|
newer: Més nou
|
||||||
older: Més antic
|
older: Més antic
|
||||||
|
silencedWarning: S'està mostrant aquesta pàgina per què aquest usuari és d'un servidor
|
||||||
|
que l'administrador a silenciat, així que pot ser spam.
|
||||||
|
@ -57,7 +57,7 @@ sendMessage: "Send a message"
|
|||||||
copyUsername: "Copy username"
|
copyUsername: "Copy username"
|
||||||
searchUser: "Search for a user"
|
searchUser: "Search for a user"
|
||||||
reply: "Reply"
|
reply: "Reply"
|
||||||
jumpToReply: "Jump to Reply"
|
jumpToPrevious: "Jump to previous"
|
||||||
loadMore: "Load more"
|
loadMore: "Load more"
|
||||||
showMore: "Show more"
|
showMore: "Show more"
|
||||||
newer: "newer"
|
newer: "newer"
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
_lang_: "Nederlands"
|
_lang_: "Nederlands"
|
||||||
headlineMisskey: "Netwerk verbonden door notities"
|
headlineMisskey: "Een open source, gedecentraliseerd, social media platform dat voor
|
||||||
|
altijd gratis is! 🚀"
|
||||||
introMisskey: "Welkom! Calckey is een open source, gedecentraliseerde microblogdienst.\n
|
introMisskey: "Welkom! Calckey is een open source, gedecentraliseerde microblogdienst.\n
|
||||||
Maak \"notities\" om je gedachten te delen met iedereen om je heen. 📡\nMet \"reacties\"\
|
Maak \"notities\" om je gedachten te delen met iedereen om je heen. 📡\nMet \"reacties\"\
|
||||||
\ kun je ook snel je mening geven over berichten van anderen. 👍\nLaten we een nieuwe
|
\ kun je ook snel je mening geven over berichten van anderen. 👍\nLaten we een nieuwe
|
||||||
@ -55,7 +56,7 @@ searchUser: "Zoeken een gebruiker"
|
|||||||
reply: "Antwoord"
|
reply: "Antwoord"
|
||||||
loadMore: "Laad meer"
|
loadMore: "Laad meer"
|
||||||
showMore: "Toon meer"
|
showMore: "Toon meer"
|
||||||
youGotNewFollower: "volgde jou"
|
youGotNewFollower: "volgt jou"
|
||||||
receiveFollowRequest: "Volgverzoek ontvangen"
|
receiveFollowRequest: "Volgverzoek ontvangen"
|
||||||
followRequestAccepted: "Volgverzoek geaccepteerd"
|
followRequestAccepted: "Volgverzoek geaccepteerd"
|
||||||
mention: "Vermelding"
|
mention: "Vermelding"
|
||||||
@ -80,7 +81,7 @@ following: "Volgend"
|
|||||||
followers: "Volgers"
|
followers: "Volgers"
|
||||||
followsYou: "Volgt jou"
|
followsYou: "Volgt jou"
|
||||||
createList: "Creëer lijst"
|
createList: "Creëer lijst"
|
||||||
manageLists: "Beheren lijsten"
|
manageLists: "Lijsten beheren"
|
||||||
error: "Fout"
|
error: "Fout"
|
||||||
somethingHappened: "Er is iets misgegaan."
|
somethingHappened: "Er is iets misgegaan."
|
||||||
retry: "Probeer opnieuw"
|
retry: "Probeer opnieuw"
|
||||||
@ -160,7 +161,7 @@ proxyAccountDescription: "Een proxy-account is een account dat onder bepaalde vo
|
|||||||
proxy-account volgt in plaats daarvan."
|
proxy-account volgt in plaats daarvan."
|
||||||
host: "Server"
|
host: "Server"
|
||||||
selectUser: "Kies een gebruiker"
|
selectUser: "Kies een gebruiker"
|
||||||
recipient: "Ontvanger"
|
recipient: "Ontvanger(s)"
|
||||||
annotation: "Reacties"
|
annotation: "Reacties"
|
||||||
federation: "Federatie"
|
federation: "Federatie"
|
||||||
instances: "Server"
|
instances: "Server"
|
||||||
@ -248,7 +249,7 @@ keepOriginalUploadingDescription: "Bewaar de originele versie bij het uploaden v
|
|||||||
afbeeldingen. Indien uitgeschakeld, wordt bij het uploaden een alternatieve versie
|
afbeeldingen. Indien uitgeschakeld, wordt bij het uploaden een alternatieve versie
|
||||||
voor webpublicatie genereert."
|
voor webpublicatie genereert."
|
||||||
fromDrive: "Van schijf"
|
fromDrive: "Van schijf"
|
||||||
fromUrl: "Van URL"
|
fromUrl: "Van URL"
|
||||||
uploadFromUrl: "Uploaden vanaf een URL"
|
uploadFromUrl: "Uploaden vanaf een URL"
|
||||||
uploadFromUrlDescription: "URL van het bestand dat je wil uploaden"
|
uploadFromUrlDescription: "URL van het bestand dat je wil uploaden"
|
||||||
uploadFromUrlRequested: "Uploadverzoek"
|
uploadFromUrlRequested: "Uploadverzoek"
|
||||||
@ -332,7 +333,7 @@ cropImageAsk: "Bijsnijdengevraagd"
|
|||||||
file: "Bestanden"
|
file: "Bestanden"
|
||||||
_email:
|
_email:
|
||||||
_follow:
|
_follow:
|
||||||
title: "volgde jou"
|
title: "Je hebt een nieuwe volger"
|
||||||
_mfm:
|
_mfm:
|
||||||
mention: "Vermelding"
|
mention: "Vermelding"
|
||||||
quote: "Quote"
|
quote: "Quote"
|
||||||
@ -391,7 +392,7 @@ _pages:
|
|||||||
types:
|
types:
|
||||||
array: "Lijsten"
|
array: "Lijsten"
|
||||||
_notification:
|
_notification:
|
||||||
youWereFollowed: "volgde jou"
|
youWereFollowed: "volgt jou"
|
||||||
_types:
|
_types:
|
||||||
follow: "Volgend"
|
follow: "Volgend"
|
||||||
mention: "Vermelding"
|
mention: "Vermelding"
|
||||||
@ -428,3 +429,73 @@ noThankYou: Nee bedankt
|
|||||||
addInstance: Voeg een server toe
|
addInstance: Voeg een server toe
|
||||||
enableEmojiReactions: Schakel emoji reacties in
|
enableEmojiReactions: Schakel emoji reacties in
|
||||||
editWidgets: Bewerk widgets
|
editWidgets: Bewerk widgets
|
||||||
|
thisYear: Jaar
|
||||||
|
thisMonth: Maand
|
||||||
|
registration: Registreren
|
||||||
|
_ffVisibility:
|
||||||
|
public: Openbaar
|
||||||
|
private: Privé
|
||||||
|
followers: Alleen zichtbaar voor volgers
|
||||||
|
noInstances: Er zijn geen servers
|
||||||
|
_signup:
|
||||||
|
almostThere: Bijna klaar
|
||||||
|
emailAddressInfo: Voer je emailadres in. Deze zal niet openbaar gemaakt worden.
|
||||||
|
_ad:
|
||||||
|
back: Terug
|
||||||
|
reduceFrequencyOfThisAd: Toon deze advertentie minder
|
||||||
|
pushNotificationNotSupported: Je browser of server ondersteunt geen pushmeldingen
|
||||||
|
sendPushNotificationReadMessage: Verwijder pushmeldingen wanneer de relevante meldingen
|
||||||
|
of berichten zijn gelezen
|
||||||
|
customEmojis: Custom emoji
|
||||||
|
cacheRemoteFiles: Cache externe bestanden
|
||||||
|
hiddenTags: Verborgen hashtags
|
||||||
|
enableRecommendedTimeline: Schakel aanbevolen tijdlijn in
|
||||||
|
_forgotPassword:
|
||||||
|
enterEmail: Voer het emailadres in dat je gebruikte om te registreren. Een link
|
||||||
|
waarmee je je wachtwoord opnieuw kunt instellen zal daar naartoe gestuurd worden.
|
||||||
|
jumpToReply: Spring naar Antwoord
|
||||||
|
newer: nieuwer
|
||||||
|
older: ouder
|
||||||
|
selectInstance: Kies een server
|
||||||
|
defaultValueIs: 'Standaard: {value}'
|
||||||
|
reload: Hernieuwen
|
||||||
|
doNothing: Negeren
|
||||||
|
today: Vandaag
|
||||||
|
inputNewDescription: Voer een nieuw onderschrift in
|
||||||
|
inputNewFolderName: Voer een nieuwe mapnaam in
|
||||||
|
circularReferenceFolder: De bestemmingsmap is een submap van de map die je wil verplaatsen.
|
||||||
|
hasChildFilesOrFolders: Omdat deze map niet leeg is, kan deze niet verwijderd worden.
|
||||||
|
enableLocalTimeline: Schakel lokale tijdlijn in
|
||||||
|
enableGlobalTimeline: Schakel globale tijdlijn in
|
||||||
|
enableRegistration: Nieuwe gebruikersregistratie inschakelen
|
||||||
|
invite: Uitnodigen
|
||||||
|
move: Verplaatsen
|
||||||
|
showAds: Toon advertenties
|
||||||
|
pushNotification: Pushmeldingen
|
||||||
|
_gallery:
|
||||||
|
my: Mijn Gallerij
|
||||||
|
reactionSetting: Reacties om te tonen in het reactie selectie menu
|
||||||
|
dayX: '{day}'
|
||||||
|
renoteMute: Demp boosts
|
||||||
|
reloadConfirm: Wil je de tijdlijn hernieuwen?
|
||||||
|
watch: Volgen
|
||||||
|
unwatch: Ontvolgen
|
||||||
|
accept: Accepteren
|
||||||
|
reject: Afwijzen
|
||||||
|
normal: Normaal
|
||||||
|
pages: Pagina's
|
||||||
|
integration: Integraties
|
||||||
|
connectService: Koppelen
|
||||||
|
monthX: '{month}'
|
||||||
|
yearX: '{year}'
|
||||||
|
instanceName: Servernaam
|
||||||
|
instanceDescription: Server omschrijving
|
||||||
|
maintainerName: Onderhouder
|
||||||
|
maintainerEmail: Onderhouder email
|
||||||
|
tosUrl: Algemene Voorwaarden URL
|
||||||
|
disconnectService: Ontkoppelen
|
||||||
|
unread: Ongelezen
|
||||||
|
manageGroups: Beheer groepen
|
||||||
|
subscribePushNotification: Pushmeldingen inschakelen
|
||||||
|
unsubscribePushNotification: Pushmeldingen uitschakelen
|
||||||
|
pushNotificationAlreadySubscribed: Pushmeldingen zijn al ingeschakeld
|
||||||
|
@ -111,11 +111,12 @@ function onMousedown(evt: MouseEvent): void {
|
|||||||
z-index: 1; // 他コンポーネントのbox-shadowに隠されないようにするため
|
z-index: 1; // 他コンポーネントのbox-shadowに隠されないようにするため
|
||||||
display: block;
|
display: block;
|
||||||
min-width: 100px;
|
min-width: 100px;
|
||||||
|
min-height: 35px;
|
||||||
width: max-content;
|
width: max-content;
|
||||||
padding: 8px 16px;
|
padding: 8px 16px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
font-size: 1em;
|
font-size: max(12px, 1em);
|
||||||
box-shadow: none;
|
box-shadow: none;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
background: var(--buttonBg);
|
background: var(--buttonBg);
|
||||||
@ -193,7 +194,7 @@ function onMousedown(evt: MouseEvent): void {
|
|||||||
|
|
||||||
&.mini {
|
&.mini {
|
||||||
padding: 4px 8px;
|
padding: 4px 8px;
|
||||||
font-size: 0.9em;
|
font-size: max(12px, .9em);
|
||||||
border-radius: 100px;
|
border-radius: 100px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
<template>
|
<template>
|
||||||
<button
|
<button
|
||||||
class="kpoogebi _button"
|
v-if="$i != null && $i.id != user.id"
|
||||||
|
class="kpoogebi _button follow-button"
|
||||||
:class="{
|
:class="{
|
||||||
wait,
|
wait,
|
||||||
active: isFollowing || hasPendingFollowRequestFromYou,
|
active: isFollowing || hasPendingFollowRequestFromYou,
|
||||||
@ -10,40 +11,41 @@
|
|||||||
}"
|
}"
|
||||||
:disabled="wait"
|
:disabled="wait"
|
||||||
@click="onClick"
|
@click="onClick"
|
||||||
|
:aria-label=" `${state} ${user.name || user.username}` "
|
||||||
>
|
>
|
||||||
<template v-if="!wait">
|
<template v-if="!wait">
|
||||||
<template v-if="isBlocking">
|
<template v-if="isBlocking">
|
||||||
<span v-if="full">{{ i18n.ts.blocked }}</span
|
<span v-if="full">{{ state = i18n.ts.blocked }}</span
|
||||||
><i class="ph-prohibit ph-bold ph-lg"></i>
|
><i class="ph-prohibit ph-bold ph-lg"></i>
|
||||||
</template>
|
</template>
|
||||||
<template
|
<template
|
||||||
v-else-if="hasPendingFollowRequestFromYou && user.isLocked"
|
v-else-if="hasPendingFollowRequestFromYou && user.isLocked"
|
||||||
>
|
>
|
||||||
<span v-if="full">{{ i18n.ts.followRequestPending }}</span
|
<span v-if="full">{{ state = i18n.ts.followRequestPending }}</span
|
||||||
><i class="ph-hourglass-medium ph-bold ph-lg"></i>
|
><i class="ph-hourglass-medium ph-bold ph-lg"></i>
|
||||||
</template>
|
</template>
|
||||||
<template
|
<template
|
||||||
v-else-if="hasPendingFollowRequestFromYou && !user.isLocked"
|
v-else-if="hasPendingFollowRequestFromYou && !user.isLocked"
|
||||||
>
|
>
|
||||||
<!-- つまりリモートフォローの場合。 -->
|
<!-- つまりリモートフォローの場合。 -->
|
||||||
<span v-if="full">{{ i18n.ts.processing }}</span
|
<span v-if="full">{{ state = i18n.ts.processing }}</span
|
||||||
><i class="ph-circle-notch ph-bold ph-lg fa-pulse"></i>
|
><i class="ph-circle-notch ph-bold ph-lg fa-pulse"></i>
|
||||||
</template>
|
</template>
|
||||||
<template v-else-if="isFollowing">
|
<template v-else-if="isFollowing">
|
||||||
<span v-if="full">{{ i18n.ts.unfollow }}</span
|
<span v-if="full">{{ state = i18n.ts.unfollow }}</span
|
||||||
><i class="ph-minus ph-bold ph-lg"></i>
|
><i class="ph-minus ph-bold ph-lg"></i>
|
||||||
</template>
|
</template>
|
||||||
<template v-else-if="!isFollowing && user.isLocked">
|
<template v-else-if="!isFollowing && user.isLocked">
|
||||||
<span v-if="full">{{ i18n.ts.followRequest }}</span
|
<span v-if="full">{{ state = i18n.ts.followRequest }}</span
|
||||||
><i class="ph-plus ph-bold ph-lg"></i>
|
><i class="ph-plus ph-bold ph-lg"></i>
|
||||||
</template>
|
</template>
|
||||||
<template v-else-if="!isFollowing && !user.isLocked">
|
<template v-else-if="!isFollowing && !user.isLocked">
|
||||||
<span v-if="full">{{ i18n.ts.follow }}</span
|
<span v-if="full">{{ state = i18n.ts.follow }}</span
|
||||||
><i class="ph-plus ph-bold ph-lg"></i>
|
><i class="ph-plus ph-bold ph-lg"></i>
|
||||||
</template>
|
</template>
|
||||||
</template>
|
</template>
|
||||||
<template v-else>
|
<template v-else>
|
||||||
<span v-if="full">{{ i18n.ts.processing }}</span
|
<span v-if="full">{{ state = i18n.ts.processing }}</span
|
||||||
><i class="ph-circle-notch ph-bold ph-lg fa-pulse ph-fw ph-lg"></i>
|
><i class="ph-circle-notch ph-bold ph-lg fa-pulse ph-fw ph-lg"></i>
|
||||||
</template>
|
</template>
|
||||||
</button>
|
</button>
|
||||||
@ -55,6 +57,7 @@ import type * as Misskey from "calckey-js";
|
|||||||
import * as os from "@/os";
|
import * as os from "@/os";
|
||||||
import { stream } from "@/stream";
|
import { stream } from "@/stream";
|
||||||
import { i18n } from "@/i18n";
|
import { i18n } from "@/i18n";
|
||||||
|
import { $i } from "@/account";
|
||||||
|
|
||||||
const emit = defineEmits(["refresh"]);
|
const emit = defineEmits(["refresh"]);
|
||||||
const props = withDefaults(
|
const props = withDefaults(
|
||||||
@ -71,6 +74,8 @@ const props = withDefaults(
|
|||||||
|
|
||||||
const isBlocking = computed(() => props.user.isBlocking);
|
const isBlocking = computed(() => props.user.isBlocking);
|
||||||
|
|
||||||
|
let state = $ref(i18n.ts.processing);
|
||||||
|
|
||||||
let isFollowing = $ref(props.user.isFollowing);
|
let isFollowing = $ref(props.user.isFollowing);
|
||||||
let hasPendingFollowRequestFromYou = $ref(
|
let hasPendingFollowRequestFromYou = $ref(
|
||||||
props.user.hasPendingFollowRequestFromYou
|
props.user.hasPendingFollowRequestFromYou
|
||||||
@ -155,7 +160,7 @@ onBeforeUnmount(() => {
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
.kpoogebi {
|
.follow-button {
|
||||||
position: relative;
|
position: relative;
|
||||||
display: inline-flex;
|
display: inline-flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
@ -164,13 +169,15 @@ onBeforeUnmount(() => {
|
|||||||
color: var(--accent);
|
color: var(--accent);
|
||||||
border: solid 1px var(--accent);
|
border: solid 1px var(--accent);
|
||||||
padding: 0;
|
padding: 0;
|
||||||
height: 31px;
|
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
border-radius: 32px;
|
width: 2em;
|
||||||
|
height: 2em;
|
||||||
|
border-radius: 100px;
|
||||||
background: var(--bg);
|
background: var(--bg);
|
||||||
|
|
||||||
&.full {
|
&.full {
|
||||||
padding: 0 8px 0 12px;
|
padding: 0.2em .7em;
|
||||||
|
width: auto;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -207,7 +214,7 @@ onBeforeUnmount(() => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
&.active {
|
&.active {
|
||||||
color: #fff;
|
color: var(--fgOnAccent);
|
||||||
background: var(--accent);
|
background: var(--accent);
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
|
@ -34,39 +34,29 @@
|
|||||||
></MkNote>
|
></MkNote>
|
||||||
|
|
||||||
<MkTab v-model="tab" :style="'underline'" @update:modelValue="loadTab">
|
<MkTab v-model="tab" :style="'underline'" @update:modelValue="loadTab">
|
||||||
<option value="replies">
|
<option value="replies" v-if="appearNote.repliesCount > 0">
|
||||||
<i class="ph-arrow-u-up-left ph-bold ph-lg"></i>
|
<i class="ph-arrow-u-up-left ph-bold ph-lg"></i>
|
||||||
<template v-if="appearNote.repliesCount > 0">
|
<span class="count">{{ appearNote.repliesCount }}</span>
|
||||||
<span class="count">{{ appearNote.repliesCount }}</span>
|
|
||||||
</template>
|
|
||||||
{{ i18n.ts._notification._types.reply }}
|
{{ i18n.ts._notification._types.reply }}
|
||||||
</option>
|
</option>
|
||||||
<option value="renotes">
|
<option value="renotes" v-if="appearNote.renoteCount > 0">
|
||||||
<i class="ph-repeat ph-bold ph-lg"></i>
|
<i class="ph-repeat ph-bold ph-lg"></i>
|
||||||
<template v-if="appearNote.renoteCount > 0">
|
<span class="count">{{ appearNote.renoteCount }}</span>
|
||||||
<span class="count">{{ appearNote.renoteCount }}</span>
|
|
||||||
</template>
|
|
||||||
{{ i18n.ts._notification._types.renote }}
|
{{ i18n.ts._notification._types.renote }}
|
||||||
</option>
|
</option>
|
||||||
<option value="quotes">
|
<option value="reactions" v-if="reactionsCount > 0">
|
||||||
<i class="ph-quotes ph-bold ph-lg"></i>
|
|
||||||
<template v-if="directQuotes?.length > 0">
|
|
||||||
<span class="count">{{ directQuotes.length }}</span>
|
|
||||||
</template>
|
|
||||||
{{ i18n.ts._notification._types.quote }}
|
|
||||||
</option>
|
|
||||||
<option value="reactions">
|
|
||||||
<i class="ph-smiley ph-bold ph-lg"></i>
|
<i class="ph-smiley ph-bold ph-lg"></i>
|
||||||
<template v-if="reactionsCount > 0">
|
<span class="count">{{ reactionsCount }}</span>
|
||||||
<span class="count">{{ reactionsCount }}</span>
|
|
||||||
</template>
|
|
||||||
{{ i18n.ts.reaction }}
|
{{ i18n.ts.reaction }}
|
||||||
</option>
|
</option>
|
||||||
<option value="clips">
|
<option value="quotes" v-if="directQuotes?.length > 0">
|
||||||
|
<i class="ph-quotes ph-bold ph-lg"></i>
|
||||||
|
<span class="count">{{ directQuotes.length }}</span>
|
||||||
|
{{ i18n.ts._notification._types.quote }}
|
||||||
|
</option>
|
||||||
|
<option value="clips" v-if="clips?.length > 0">
|
||||||
<i class="ph-paperclip ph-bold ph-lg"></i>
|
<i class="ph-paperclip ph-bold ph-lg"></i>
|
||||||
<template v-if="clips?.length > 0">
|
<span class="count">{{ clips.length }}</span>
|
||||||
<span class="count">{{ clips.length }}</span>
|
|
||||||
</template>
|
|
||||||
{{ i18n.ts.clips }}
|
{{ i18n.ts.clips }}
|
||||||
</option>
|
</option>
|
||||||
</MkTab>
|
</MkTab>
|
||||||
@ -518,6 +508,10 @@ onUnmounted(() => {
|
|||||||
overflow: clip;
|
overflow: clip;
|
||||||
outline: none;
|
outline: none;
|
||||||
scroll-margin-top: calc(var(--stickyTop) + 20vh);
|
scroll-margin-top: calc(var(--stickyTop) + 20vh);
|
||||||
|
&:not(:last-child) {
|
||||||
|
border-bottom: 1px solid var(--divider);
|
||||||
|
margin-bottom: 4px;
|
||||||
|
}
|
||||||
.article {
|
.article {
|
||||||
cursor: unset;
|
cursor: unset;
|
||||||
padding-bottom: 0;
|
padding-bottom: 0;
|
||||||
@ -632,7 +626,7 @@ onUnmounted(() => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
> :deep(.note-container) {
|
> :deep(.note-container) {
|
||||||
padding: 6px 0 0 0;
|
padding: 12px 0 0 0;
|
||||||
> .header > .body {
|
> .header > .body {
|
||||||
padding-left: 10px;
|
padding-left: 10px;
|
||||||
}
|
}
|
||||||
@ -642,7 +636,7 @@ onUnmounted(() => {
|
|||||||
> :deep(.reacted-users > *) {
|
> :deep(.reacted-users > *) {
|
||||||
padding-inline: 16px !important;
|
padding-inline: 16px !important;
|
||||||
}
|
}
|
||||||
> .chips {
|
> :deep(.underline) {
|
||||||
padding-left: 16px !important;
|
padding-left: 16px !important;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<div
|
<article
|
||||||
v-if="!muted.muted || muted.what === 'reply'"
|
v-if="!muted.muted || muted.what === 'reply'"
|
||||||
ref="el"
|
ref="el"
|
||||||
v-size="{ max: [450, 500] }"
|
v-size="{ max: [450, 500] }"
|
||||||
@ -150,7 +150,7 @@
|
|||||||
></MkA>
|
></MkA>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
</div>
|
</article>
|
||||||
<div v-else class="muted" @click="muted.muted = false">
|
<div v-else class="muted" @click="muted.muted = false">
|
||||||
<I18n :src="softMuteReasonI18nSrc(muted.what)" tag="small">
|
<I18n :src="softMuteReasonI18nSrc(muted.what)" tag="small">
|
||||||
<template #name>
|
<template #name>
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
!note.replyId
|
!note.replyId
|
||||||
"
|
"
|
||||||
:to="`/notes/${note.renoteId}`"
|
:to="`/notes/${note.renoteId}`"
|
||||||
v-tooltip="i18n.ts.jumpToReply"
|
v-tooltip="i18n.ts.jumpToPrevious"
|
||||||
class="reply-icon"
|
class="reply-icon"
|
||||||
@click.stop
|
@click.stop
|
||||||
>
|
>
|
||||||
@ -70,7 +70,7 @@
|
|||||||
v-if="!detailed && note.replyId"
|
v-if="!detailed && note.replyId"
|
||||||
:to="`#${note.replyId}`"
|
:to="`#${note.replyId}`"
|
||||||
behavior="browser"
|
behavior="browser"
|
||||||
v-tooltip="i18n.ts.jumpToReply"
|
v-tooltip="i18n.ts.jumpToPrevious"
|
||||||
class="reply-icon"
|
class="reply-icon"
|
||||||
@click.stop
|
@click.stop
|
||||||
>
|
>
|
||||||
|
@ -86,6 +86,10 @@ export default defineComponent({
|
|||||||
> .icon {
|
> .icon {
|
||||||
margin-right: 6px;
|
margin-right: 6px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
&:empty {
|
||||||
|
display: none !important;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&.chips, &.underline {
|
&.chips, &.underline {
|
||||||
@ -124,6 +128,7 @@ export default defineComponent({
|
|||||||
&.underline {
|
&.underline {
|
||||||
padding-block: 0 !important;
|
padding-block: 0 !important;
|
||||||
margin-bottom: -1px;
|
margin-bottom: -1px;
|
||||||
|
border-radius: 0;
|
||||||
button {
|
button {
|
||||||
background: none !important;
|
background: none !important;
|
||||||
border-radius: 0 !important;
|
border-radius: 0 !important;
|
||||||
|
@ -85,6 +85,18 @@
|
|||||||
</nav>
|
</nav>
|
||||||
</template>
|
</template>
|
||||||
<div class="buttons right">
|
<div class="buttons right">
|
||||||
|
<template v-if="metadata.avatar">
|
||||||
|
<MkFollowButton
|
||||||
|
v-if="narrow"
|
||||||
|
:user="metadata.avatar"
|
||||||
|
:full="false"
|
||||||
|
></MkFollowButton>
|
||||||
|
<MkFollowButton
|
||||||
|
v-else
|
||||||
|
:user="metadata.avatar"
|
||||||
|
:full="true"
|
||||||
|
></MkFollowButton>
|
||||||
|
</template>
|
||||||
<template v-for="action in actions">
|
<template v-for="action in actions">
|
||||||
<button
|
<button
|
||||||
v-tooltip.noDelay="action.text"
|
v-tooltip.noDelay="action.text"
|
||||||
@ -113,6 +125,7 @@ import {
|
|||||||
reactive,
|
reactive,
|
||||||
} from "vue";
|
} from "vue";
|
||||||
import tinycolor from "tinycolor2";
|
import tinycolor from "tinycolor2";
|
||||||
|
import MkFollowButton from "@/components/MkFollowButton.vue";
|
||||||
import { popupMenu } from "@/os";
|
import { popupMenu } from "@/os";
|
||||||
import { scrollToTop } from "@/scripts/scroll";
|
import { scrollToTop } from "@/scripts/scroll";
|
||||||
import { globalEvents } from "@/events";
|
import { globalEvents } from "@/events";
|
||||||
@ -379,6 +392,9 @@ onUnmounted(() => {
|
|||||||
|
|
||||||
&.right {
|
&.right {
|
||||||
margin-left: auto;
|
margin-left: auto;
|
||||||
|
:deep(.follow-button) {
|
||||||
|
margin-right: 6px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&:empty {
|
&:empty {
|
||||||
|
@ -27,11 +27,10 @@
|
|||||||
v-if="!showNext && hasNext"
|
v-if="!showNext && hasNext"
|
||||||
class="load next"
|
class="load next"
|
||||||
@click="showNext = true"
|
@click="showNext = true"
|
||||||
v-tooltip="
|
>
|
||||||
`${i18n.ts.loadMore} (${i18n.ts.newer})`
|
<i class="ph-caret-up ph-bold ph-lg"></i>
|
||||||
"
|
{{ `${i18n.ts.loadMore} (${i18n.ts.newer})` }}
|
||||||
><i class="ph-caret-up ph-bold ph-lg"></i
|
</MkButton>
|
||||||
></MkButton>
|
|
||||||
<div class="note _gap">
|
<div class="note _gap">
|
||||||
<MkRemoteCaution
|
<MkRemoteCaution
|
||||||
v-if="note.user.host != null"
|
v-if="note.user.host != null"
|
||||||
@ -47,11 +46,10 @@
|
|||||||
v-if="!showPrev && hasPrev"
|
v-if="!showPrev && hasPrev"
|
||||||
class="load prev"
|
class="load prev"
|
||||||
@click="showPrev = true"
|
@click="showPrev = true"
|
||||||
v-tooltip="
|
>
|
||||||
`${i18n.ts.loadMore} (${i18n.ts.older})`
|
<i class="ph-caret-down ph-bold ph-lg"></i>
|
||||||
"
|
{{ `${i18n.ts.loadMore} (${i18n.ts.older})` }}
|
||||||
><i class="ph-caret-down ph-bold ph-lg"></i
|
</MkButton>
|
||||||
></MkButton>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div v-if="showPrev" class="_gap">
|
<div v-if="showPrev" class="_gap">
|
||||||
|
@ -135,7 +135,6 @@
|
|||||||
<div class="follow-container">
|
<div class="follow-container">
|
||||||
<div class="actions">
|
<div class="actions">
|
||||||
<MkFollowButton
|
<MkFollowButton
|
||||||
v-if="$i != null && $i.id != user.id"
|
|
||||||
:user="user"
|
:user="user"
|
||||||
@refresh="emit('refresh')"
|
@refresh="emit('refresh')"
|
||||||
:inline="true"
|
:inline="true"
|
||||||
|
Loading…
Reference in New Issue
Block a user