From 756dc397d906cab6af521d90c53e98d6e0422729 Mon Sep 17 00:00:00 2001 From: syuilo Date: Tue, 6 Nov 2018 07:22:39 +0900 Subject: [PATCH] :art: --- locales/ja-JP.yml | 1 + src/client/app/admin/views/instance.vue | 9 ++++++++- src/client/app/common/views/components/ui/card.vue | 3 +++ 3 files changed, 12 insertions(+), 1 deletion(-) diff --git a/locales/ja-JP.yml b/locales/ja-JP.yml index e18247ba71..0528a511ce 100644 --- a/locales/ja-JP.yml +++ b/locales/ja-JP.yml @@ -1078,6 +1078,7 @@ admin/views/instance.vue: instance-name: "インスタンス名" instance-description: "インスタンスの紹介" banner-url: "バナー画像URL" + drive-config: "ドライブの設定" local-drive-capacity-mb: "ローカルユーザーひとりあたりのドライブ容量" remote-drive-capacity-mb: "リモートユーザーひとりあたりのドライブ容量" mb: "メガバイト単位" diff --git a/src/client/app/admin/views/instance.vue b/src/client/app/admin/views/instance.vue index 65be1b4046..5960628af3 100644 --- a/src/client/app/admin/views/instance.vue +++ b/src/client/app/admin/views/instance.vue @@ -6,9 +6,16 @@ %i18n:@instance-name% %i18n:@instance-description% %i18n:@banner-url% + +
+ %i18n:@max-note-text-length% +
+
+
%i18n:@drive-config%
%i18n:@local-drive-capacity-mb%%i18n:@mb% %i18n:@remote-drive-capacity-mb%%i18n:@mb% - %i18n:@max-note-text-length% +
+
%i18n:@save%
diff --git a/src/client/app/common/views/components/ui/card.vue b/src/client/app/common/views/components/ui/card.vue index 988c5ad3cf..dbbf7b14a0 100644 --- a/src/client/app/common/views/components/ui/card.vue +++ b/src/client/app/common/views/components/ui/card.vue @@ -48,6 +48,9 @@ export default Vue.extend({ &.fit-top padding-top 0 + &.fit-bottom + padding-bottom 0 + > header margin-bottom 16px font-weight bold