From 5ca8a0d88642f6d64b2a23891e02e07edabe112e Mon Sep 17 00:00:00 2001 From: syuilo Date: Sat, 2 Jun 2018 13:34:53 +0900 Subject: [PATCH] wip --- locales/ja.yml | 7 +++ .../components/follow-requests-window.vue | 54 +++++++++++++++++++ .../views/components/ui.header.account.vue | 17 ++++++ .../views/components/user-lists-window.vue | 2 +- src/models/follow-request.ts | 4 +- 5 files changed, 81 insertions(+), 3 deletions(-) create mode 100644 src/client/app/desktop/views/components/follow-requests-window.vue diff --git a/locales/ja.yml b/locales/ja.yml index fad0c8911..75ff13afe 100644 --- a/locales/ja.yml +++ b/locales/ja.yml @@ -598,6 +598,7 @@ desktop/views/components/ui.header.account.vue: drive: "ドライブ" favorites: "お気に入り" lists: "リスト" + follow-requests: "フォロー申請" customize: "カスタマイズ" settings: "設定" signout: "サインアウト" @@ -617,7 +618,13 @@ desktop/views/components/ui.header.post.vue: desktop/views/components/ui.header.search.vue: placeholder: "検索" +desktop/views/components/follow-requests-window.vue: + title: "フォロー申請" + accept: "許可" + reject: "拒否" + desktop/views/components/user-lists-window.vue: + title: "リスト" create-list: "リストを作成" desktop/views/components/user-preview.vue: diff --git a/src/client/app/desktop/views/components/follow-requests-window.vue b/src/client/app/desktop/views/components/follow-requests-window.vue new file mode 100644 index 000000000..c864f1f9c --- /dev/null +++ b/src/client/app/desktop/views/components/follow-requests-window.vue @@ -0,0 +1,54 @@ + + + + + diff --git a/src/client/app/desktop/views/components/ui.header.account.vue b/src/client/app/desktop/views/components/ui.header.account.vue index 8d26691f8..d110d700a 100644 --- a/src/client/app/desktop/views/components/ui.header.account.vue +++ b/src/client/app/desktop/views/components/ui.header.account.vue @@ -19,6 +19,9 @@
  • %fa:list%%i18n:@lists%%fa:angle-right%

  • +
  • +

    %fa:envelope R%%i18n:@follow-requests%{{ $store.state.i.pendingReceivedFollowRequestsCount }}%fa:angle-right%

    +