From 580c4517314b1114b59f55b7de15cc50a3d4cc41 Mon Sep 17 00:00:00 2001 From: syuilo Date: Thu, 8 Jun 2017 02:47:14 +0900 Subject: [PATCH] [Client] Add activity home widget --- locales/en.yml | 3 + locales/ja.yml | 3 + .../desktop/tags/home-widgets/activity.tag | 83 +++++++++++++++++++ src/web/app/desktop/tags/home.tag | 1 + src/web/app/desktop/tags/index.js | 1 + 5 files changed, 91 insertions(+) create mode 100644 src/web/app/desktop/tags/home-widgets/activity.tag diff --git a/locales/en.yml b/locales/en.yml index 862c01d9a..74ff52979 100644 --- a/locales/en.yml +++ b/locales/en.yml @@ -243,6 +243,9 @@ desktop: title: "Notifications" settings: "Notification settings" + mk-activity-home-widget: + title: "Activity" + mk-user-recommendation-home-widget: title: "Recommended users" refresh: "Show others" diff --git a/locales/ja.yml b/locales/ja.yml index e1bae5fd7..dda0da585 100644 --- a/locales/ja.yml +++ b/locales/ja.yml @@ -243,6 +243,9 @@ desktop: title: "通知" settings: "通知の設定" + mk-activity-home-widget: + title: "アクティビティ" + mk-user-recommendation-home-widget: title: "おすすめユーザー" refresh: "他を見る" diff --git a/src/web/app/desktop/tags/home-widgets/activity.tag b/src/web/app/desktop/tags/home-widgets/activity.tag new file mode 100644 index 000000000..d534db4e9 --- /dev/null +++ b/src/web/app/desktop/tags/home-widgets/activity.tag @@ -0,0 +1,83 @@ + +

%i18n:desktop.tags.mk-activity-home-widget.title%

+

%i18n:common.loading%

+ + + + + +
diff --git a/src/web/app/desktop/tags/home.tag b/src/web/app/desktop/tags/home.tag index ba89a0166..0e4a2ced1 100644 --- a/src/web/app/desktop/tags/home.tag +++ b/src/web/app/desktop/tags/home.tag @@ -66,6 +66,7 @@ left: [ 'profile', 'calendar', + 'activity', 'rss-reader', 'trends', 'photo-stream', diff --git a/src/web/app/desktop/tags/index.js b/src/web/app/desktop/tags/index.js index f92200b3d..1e0ebd44c 100644 --- a/src/web/app/desktop/tags/index.js +++ b/src/web/app/desktop/tags/index.js @@ -44,6 +44,7 @@ require('./home-widgets/broadcast.tag'); require('./home-widgets/version.tag'); require('./home-widgets/recommended-polls.tag'); require('./home-widgets/trends.tag'); +require('./home-widgets/activity.tag'); require('./timeline.tag'); require('./messaging/window.tag'); require('./messaging/room-window.tag');