From acc91fcf9154e5a843c8dc1b45b9e46c17dd687c Mon Sep 17 00:00:00 2001 From: syuilo Date: Wed, 1 Feb 2017 00:57:36 +0900 Subject: [PATCH] [Client] Display bot label --- src/web/app/desktop/tags/timeline-post.tag | 41 +++++++++++++++++++--- src/web/app/mobile/tags/timeline-post.tag | 19 ++++++++-- 2 files changed, 53 insertions(+), 7 deletions(-) diff --git a/src/web/app/desktop/tags/timeline-post.tag b/src/web/app/desktop/tags/timeline-post.tag index 3570ce308e..3f07db85f9 100644 --- a/src/web/app/desktop/tags/timeline-post.tag +++ b/src/web/app/desktop/tags/timeline-post.tag @@ -3,15 +3,37 @@
-

avatar{ post.user.name }がRepost

+

+ + avatar + + + { post.user.name } + がRepost +

-
avatar +
+ + avatar +
-
{ p.user.name }@{ p.user.username } -
+
+ { p.user.name } + bot + @{ p.user.username } + + + +
- +
+ + + + + RP: +
@@ -147,6 +169,15 @@ &:hover text-decoration underline + > .is-bot + text-align left + margin 0 0 0 8px + padding 1px 6px + font-size 12px + color #bbb + border solid 1px #eee + border-radius 3px + > .username text-align left margin 0 0 0 8px diff --git a/src/web/app/mobile/tags/timeline-post.tag b/src/web/app/mobile/tags/timeline-post.tag index 44fa342ce3..b641149aef 100644 --- a/src/web/app/mobile/tags/timeline-post.tag +++ b/src/web/app/mobile/tags/timeline-post.tag @@ -8,8 +8,14 @@
avatar
-
{ p.user.name }@{ p.user.username } -
+
+ { p.user.name } + bot + @{ p.user.username } + + + +
RP: @@ -149,6 +155,15 @@ &:hover text-decoration underline + > .is-bot + text-align left + margin 0 0 0 8px + padding 1px 6px + font-size 12px + color #bbb + border solid 1px #eee + border-radius 3px + > .username text-align left margin 0 0 0 8px