Merge branch 'setttingssync' into shigusegubu-themes3
This commit is contained in:
commit
b5206d1b3b
7 changed files with 28 additions and 27 deletions
|
|
@ -61,15 +61,16 @@
|
|||
</div>
|
||||
<p
|
||||
v-if="error"
|
||||
class="alert error notice-dismissible"
|
||||
class="alert error"
|
||||
>
|
||||
<span>{{ error }}</span>
|
||||
<a
|
||||
<button
|
||||
class="fa-scale-110 fa-old-padding dismiss"
|
||||
type="button"
|
||||
@click.prevent="dismissError()"
|
||||
>
|
||||
<FAIcon icon="times" />
|
||||
</a>
|
||||
</button>
|
||||
</p>
|
||||
</div>
|
||||
</form>
|
||||
|
|
@ -117,10 +118,6 @@
|
|||
margin: 0.3em 0 1em;
|
||||
}
|
||||
|
||||
.notice-dismissible {
|
||||
padding-right: 2rem;
|
||||
}
|
||||
|
||||
.dismiss {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -9,20 +9,22 @@
|
|||
@dragover.prevent="fileDrag"
|
||||
>
|
||||
<div class="form-group">
|
||||
<i18n-t
|
||||
v-if="!$store.state.users.currentUser.locked && newStatus.visibility == 'private' && !disableLockWarning"
|
||||
keypath="post_status.account_not_locked_warning"
|
||||
tag="p"
|
||||
class="visibility-notice notice-dismissible"
|
||||
scope="global"
|
||||
>
|
||||
<button
|
||||
class="button-unstyled -link"
|
||||
@click="openProfileTab"
|
||||
<div class="visibility-notice notice-dismissible">
|
||||
<i18n-t
|
||||
v-if="!$store.state.users.currentUser.locked && newStatus.visibility == 'private' && !disableLockWarning"
|
||||
keypath="post_status.account_not_locked_warning"
|
||||
tag="p"
|
||||
class=""
|
||||
scope="global"
|
||||
>
|
||||
{{ $t('post_status.account_not_locked_warning_link') }}
|
||||
</button>
|
||||
</i18n-t>
|
||||
<button
|
||||
class="button-unstyled -link"
|
||||
@click="openProfileTab"
|
||||
>
|
||||
{{ $t('post_status.account_not_locked_warning_link') }}
|
||||
</button>
|
||||
</i18n-t>
|
||||
</div>
|
||||
<p
|
||||
v-if="!hideScopeNotice && newStatus.visibility === 'public'"
|
||||
class="visibility-notice notice-dismissible"
|
||||
|
|
|
|||
|
|
@ -10,12 +10,13 @@
|
|||
class="alert error"
|
||||
>
|
||||
{{ error }}
|
||||
<span
|
||||
<button
|
||||
class="fa-scale-110 fa-old-padding"
|
||||
type="button"
|
||||
@click="clearError"
|
||||
>
|
||||
<FAIcon icon="times" />
|
||||
</span>
|
||||
</button>
|
||||
</div>
|
||||
<template v-if="muted && !isPreview">
|
||||
<div class="status-container muted">
|
||||
|
|
|
|||
|
|
@ -88,7 +88,7 @@
|
|||
<StatusBookmarkFolderMenu
|
||||
v-if="button.name === 'bookmark'"
|
||||
:status="status"
|
||||
@close="() => { close(); outerClose() }"
|
||||
@close="() => { close(); outerClose?.() }"
|
||||
/>
|
||||
</template>
|
||||
</Popover>
|
||||
|
|
|
|||
|
|
@ -372,8 +372,8 @@ export const parseStatus = (data) => {
|
|||
const quoteData = quoteRaw ? parseStatus(quoteRaw) : undefined
|
||||
output.quote = quoteData
|
||||
output.quote_id =
|
||||
data.quote?.id ?? data.quote_id ?? quoteData?.id ?? pleroma.quote_id
|
||||
output.quote_url = data.quote?.url ?? quoteData?.url ?? pleroma.quote_url
|
||||
data.quote?.id ?? data.quote_id ?? quoteData?.id ?? pleroma?.quote_id
|
||||
output.quote_url = data.quote?.url ?? quoteData?.url ?? pleroma?.quote_url
|
||||
|
||||
output.in_reply_to_status_id = data.in_reply_to_id
|
||||
output.in_reply_to_user_id = data.in_reply_to_account_id
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ import { hex2rgb } from '../color_convert/color_convert.js'
|
|||
|
||||
const highlightStyle = (prefs) => {
|
||||
if (prefs === undefined) return
|
||||
const { color, type } = prefs
|
||||
const { color = '#FFFFFF', type } = prefs
|
||||
if (typeof color !== 'string') return
|
||||
const rgb = hex2rgb(color)
|
||||
if (rgb == null) return
|
||||
|
|
|
|||
|
|
@ -91,7 +91,8 @@ export const useInterfaceStore = defineStore('interface', {
|
|||
},
|
||||
setPageTitle(option = '') {
|
||||
try {
|
||||
document.title = `${option} ${useInstanceStore().name}`
|
||||
console.log('TITLE', option, useInstanceStore().instanceIdentity.name)
|
||||
document.title = `${option} ${useInstanceStore().instanceIdentity.name}`
|
||||
} catch (error) {
|
||||
console.error(`${error}`)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue