summaryrefslogtreecommitdiff
path: root/src/client/app/auth/views
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/app/auth/views')
-rw-r--r--src/client/app/auth/views/form.vue10
-rw-r--r--src/client/app/auth/views/index.vue2
2 files changed, 2 insertions, 10 deletions
diff --git a/src/client/app/auth/views/form.vue b/src/client/app/auth/views/form.vue
index 749a2bd487..064dbf3887 100644
--- a/src/client/app/auth/views/form.vue
+++ b/src/client/app/auth/views/form.vue
@@ -14,15 +14,7 @@
<h2>{{ $t('permission-ask') }}</h2>
<ul>
<template v-for="p in app.permission">
- <li v-if="p == 'account-read'">{{ $t('account-read') }}</li>
- <li v-if="p == 'account-write'">{{ $t('account-write') }}</li>
- <li v-if="p == 'note-write'">{{ $t('note-write') }}</li>
- <li v-if="p == 'like-write'">{{ $t('like-write') }}</li>
- <li v-if="p == 'following-write'">{{ $t('following-write') }}</li>
- <li v-if="p == 'drive-read'">{{ $t('drive-read') }}</li>
- <li v-if="p == 'drive-write'">{{ $t('drive-write') }}</li>
- <li v-if="p == 'notification-read'">{{ $t('notification-read') }}</li>
- <li v-if="p == 'notification-write'">{{ $t('notification-write') }}</li>
+ <li :key="p">{{ $t(`@.permissions.${p}`) }}</li>
</template>
</ul>
</section>
diff --git a/src/client/app/auth/views/index.vue b/src/client/app/auth/views/index.vue
index 9bf2acba72..ad9b1e4e35 100644
--- a/src/client/app/auth/views/index.vue
+++ b/src/client/app/auth/views/index.vue
@@ -98,7 +98,7 @@ export default Vue.extend({
margin 0 auto
text-align center
background #fff
- box-shadow 0px 4px 16px rgba(#000, 0.2)
+ box-shadow 0 4px 16px rgba(#000, 0.2)
> .fetching
margin 0