From 393113a2822a55e77e195a8a34a486528f335fa4 Mon Sep 17 00:00:00 2001 From: syuilo Date: Sun, 12 Nov 2017 05:52:35 +0900 Subject: [PATCH] Improve widgets --- .../app/desktop/tags/home-widgets/channel.tag | 18 +++++--- .../app/desktop/tags/home-widgets/profile.tag | 43 +++++++++++++++++-- .../tags/home-widgets/recommended-polls.tag | 17 ++++++-- .../desktop/tags/home-widgets/rss-reader.tag | 17 +++++++- .../app/desktop/tags/home-widgets/trends.tag | 17 ++++++-- 5 files changed, 96 insertions(+), 16 deletions(-) diff --git a/src/web/app/desktop/tags/home-widgets/channel.tag b/src/web/app/desktop/tags/home-widgets/channel.tag index c1a29f60b..b5a57277f 100644 --- a/src/web/app/desktop/tags/home-widgets/channel.tag +++ b/src/web/app/desktop/tags/home-widgets/channel.tag @@ -1,8 +1,10 @@ -

{ - channel ? channel.title : '%i18n:desktop.tags.mk-channel-home-widget.title%' - }

- + +

{ + channel ? channel.title : '%i18n:desktop.tags.mk-channel-home-widget.title%' + }

+ +

%i18n:desktop.tags.mk-channel-home-widget.get-started%

diff --git a/src/web/app/desktop/tags/home-widgets/profile.tag b/src/web/app/desktop/tags/home-widgets/profile.tag index e6a875211..3fdf4343e 100644 --- a/src/web/app/desktop/tags/home-widgets/profile.tag +++ b/src/web/app/desktop/tags/home-widgets/profile.tag @@ -1,5 +1,7 @@ - - avatar{ I.name } + + + avatar + { I.name }

@{ I.username }

diff --git a/src/web/app/desktop/tags/home-widgets/rss-reader.tag b/src/web/app/desktop/tags/home-widgets/rss-reader.tag index e9b740762..9c213cf79 100644 --- a/src/web/app/desktop/tags/home-widgets/rss-reader.tag +++ b/src/web/app/desktop/tags/home-widgets/rss-reader.tag @@ -1,6 +1,8 @@ -

RSS

- + +

RSS

+ +
@@ -62,6 +64,12 @@
diff --git a/src/web/app/desktop/tags/home-widgets/trends.tag b/src/web/app/desktop/tags/home-widgets/trends.tag index 021df3f72..f824d89cf 100644 --- a/src/web/app/desktop/tags/home-widgets/trends.tag +++ b/src/web/app/desktop/tags/home-widgets/trends.tag @@ -1,6 +1,8 @@ -

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

- + +

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

+ +

{ post.text }

@{ post.user.username }

@@ -72,7 +74,11 @@