chore(frontend): 通報のカテゴリの調整・投稿フォームのガイドラインへの導線に利用規約も追加 (MisskeyIO#902)
This commit is contained in:
parent
a075b6aeef
commit
f60d9da614
5 changed files with 21 additions and 22 deletions
|
@ -86,7 +86,9 @@ SPDX-License-Identifier: AGPL-3.0-only
|
|||
<span>{{ i18n.tsx.willBePostedAt({ x: dateTimeFormat.format(scheduledTime) }) }}</span>
|
||||
<button class="_button" style="margin-left: auto" @click="scheduledTime = null"><i class="ti ti-x"></i></button>
|
||||
</div>
|
||||
<MkInfo v-if="files.length > 0" warn :class="$style.guidelineInfo" :rounded="false"><Mfm :text="i18n.tsx._postForm.guidelineInfo({ tosUrl: instance.tosUrl, nsfwGuideUrl })"/></MkInfo>
|
||||
<MkInfo v-if="files.length > 0 && instance.tosUrl" warn style="margin-top: 8px;" :rounded="false">
|
||||
<Mfm :text="i18n.tsx._postForm.tosAndGuidelinesInfo({ tosUrl: instance.tosUrl })"/>
|
||||
</MkInfo>
|
||||
<XPostFormAttaches v-model="files" @detach="detachFile" @changeSensitive="updateFileSensitive" @changeName="updateFileName" @replaceFile="replaceFile"/>
|
||||
<MkPollEditor v-if="poll" v-model="poll" @destroyed="poll = null"/>
|
||||
<MkNotePreview v-if="showPreview" :class="$style.preview" :text="text" :files="files" :poll="poll ?? undefined" :useCw="useCw" :cw="cw" :user="postAccount ?? $i"/>
|
||||
|
@ -228,8 +230,6 @@ const imeText = ref('');
|
|||
const showingOptions = ref(false);
|
||||
const textAreaReadOnly = ref(false);
|
||||
|
||||
const nsfwGuideUrl = 'https://go.misskey.io/media-guideline';
|
||||
|
||||
const draftKey = computed((): string => {
|
||||
let key = channel.value ? `channel:${channel.value.id}` : '';
|
||||
|
||||
|
@ -1443,10 +1443,6 @@ defineExpose({
|
|||
color: var(--accent);
|
||||
}
|
||||
|
||||
.guidelineInfo {
|
||||
margin-top: 8px;
|
||||
}
|
||||
|
||||
@container (max-width: 500px) {
|
||||
.headerRight {
|
||||
font-size: .9em;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue