cleanup, updated broken favorites look + localization strings
This commit is contained in:
parent
e8f7491003
commit
693eb4b717
@ -29,10 +29,12 @@
|
||||
<div class="follow-text" v-if="notification.type === 'follow'">
|
||||
<router-link :to="{ name: 'user-profile', params: { id: notification.action.user.id } }">@{{notification.action.user.screen_name}}</router-link>
|
||||
</div>
|
||||
<status v-if="notification.status" v-else class="faint" :compact="true" :statusoid="notification.status" :noHeading="true"></status>
|
||||
<div v-if="!notification.status">
|
||||
Favorite for missing post
|
||||
</div>
|
||||
<template v-else>
|
||||
<status v-if="notification.status" class="faint" :compact="true" :statusoid="notification.status" :noHeading="true"></status>
|
||||
<div class="broken-favorite" v-else>
|
||||
{{$t('notifications.broken_favorite')}}
|
||||
</div>
|
||||
</template>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
@ -58,6 +58,16 @@
|
||||
border-bottom-color: inherit;
|
||||
padding-left: 4px;
|
||||
|
||||
.broken-favorite {
|
||||
border-radius: $fallback--tooltipRadius;
|
||||
border-radius: var(--tooltipRadius, $fallback--tooltipRadius);
|
||||
color: $fallback--faint;
|
||||
color: var(--faint, $fallback--faint);
|
||||
background-color: $fallback--cAlertRed;
|
||||
background-color: var(--cAlertRed, $fallback--cAlertRed);
|
||||
padding: 2px .5em
|
||||
}
|
||||
|
||||
.avatar-compact {
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
|
@ -339,7 +339,8 @@ const en = {
|
||||
read: 'Read!',
|
||||
followed_you: 'followed you',
|
||||
favorited_you: 'favorited your status',
|
||||
repeated_you: 'repeated your status'
|
||||
repeated_you: 'repeated your status',
|
||||
broken_favorite: 'Unknown status, searching for it...'
|
||||
},
|
||||
login: {
|
||||
login: 'Log in',
|
||||
@ -1628,7 +1629,8 @@ const ru = {
|
||||
read: 'Прочесть',
|
||||
followed_you: 'начал(а) читать вас',
|
||||
favorited_you: 'нравится ваш статус',
|
||||
repeated_you: 'повторил(а) ваш статус'
|
||||
repeated_you: 'повторил(а) ваш статус',
|
||||
broken_favorite: 'Неизвестный статус, ищем...'
|
||||
},
|
||||
login: {
|
||||
login: 'Войти',
|
||||
|
@ -47,7 +47,6 @@ const api = {
|
||||
}
|
||||
},
|
||||
fetchOldPost (store, { postId }) {
|
||||
console.log(store)
|
||||
store.state.backendInteractor.fetchOldPost({ store, postId })
|
||||
},
|
||||
stopFetching (store, timeline) {
|
||||
|
Loading…
Reference in New Issue
Block a user