1
0
forked from mirror/misskey

[Client] Show domain in admin page

This commit is contained in:
syuilo 2018-11-10 04:28:56 +09:00
parent 2da1432e52
commit d62c67208f
No known key found for this signature in database
GPG Key ID: BDC4C49D06AB9D69
2 changed files with 4 additions and 0 deletions

View File

@ -1045,6 +1045,7 @@ admin/views/instance.vue:
instance: "インスタンス"
instance-name: "インスタンス名"
instance-description: "インスタンスの紹介"
domain: "ドメイン"
banner-url: "バナー画像URL"
languages: "インスタンスの対象言語"
languages-desc: "スペースで区切って複数設定できます。"

View File

@ -3,6 +3,7 @@
<ui-card>
<div slot="title"><fa icon="cog"/> {{ $t('instance') }}</div>
<section class="fit-top fit-bottom">
<ui-input :value="host" readonly>{{ $t('domain') }}</ui-input>
<ui-input v-model="name">{{ $t('instance-name') }}</ui-input>
<ui-textarea v-model="description">{{ $t('instance-description') }}</ui-textarea>
<ui-input v-model="bannerUrl"><i slot="icon"><fa icon="link"/></i>{{ $t('banner-url') }}</ui-input>
@ -81,11 +82,13 @@
<script lang="ts">
import Vue from 'vue';
import i18n from '../../i18n';
import { host } from '../../config';
export default Vue.extend({
i18n: i18n('admin/views/instance.vue'),
data() {
return {
host,
maintainerName: null,
maintainerEmail: null,
disableRegistration: false,