From f2c5dc468c9bdb86e096565e9306f53eb1876ce0 Mon Sep 17 00:00:00 2001 From: syuilo Date: Wed, 22 Feb 2017 12:43:15 +0900 Subject: Extract user's profile --- src/web/app/desktop/tags/list-user.tag | 50 ++++++++++++++----------------- src/web/app/desktop/tags/user-header.tag | 2 +- src/web/app/desktop/tags/user-preview.tag | 4 +-- src/web/app/desktop/tags/user-profile.tag | 8 ++--- src/web/app/mobile/tags/user-preview.tag | 14 ++++++--- src/web/app/mobile/tags/user.tag | 12 ++++---- 6 files changed, 46 insertions(+), 44 deletions(-) (limited to 'src/web/app') diff --git a/src/web/app/desktop/tags/list-user.tag b/src/web/app/desktop/tags/list-user.tag index 133efd2d1e..e709d8d708 100644 --- a/src/web/app/desktop/tags/list-user.tag +++ b/src/web/app/desktop/tags/list-user.tag @@ -1,11 +1,15 @@ -avatar + + + avatar +
-
{ user.name }@{ user.username }
+ { user.name } + @{ user.username }

フォローされています

-
{ user.bio }
+
{ user.description }
@@ -41,31 +45,23 @@ > header margin-bottom 2px - &:after - content "" - display block - clear both - - > .left - float left - - > .name - display inline - margin 0 - padding 0 - color #777 - font-size 1em - font-weight 700 - text-align left - text-decoration none + > .name + display inline + margin 0 + padding 0 + color #777 + font-size 1em + font-weight 700 + text-align left + text-decoration none - &:hover - text-decoration underline + &:hover + text-decoration underline - > .username - text-align left - margin 0 0 0 8px - color #ccc + > .username + text-align left + margin 0 0 0 8px + color #ccc > .body > .followed @@ -78,7 +74,7 @@ background #eefaff border-radius 4px - > .bio + > .description cursor default display block margin 0 diff --git a/src/web/app/desktop/tags/user-header.tag b/src/web/app/desktop/tags/user-header.tag index c265357169..c7ebaff446 100644 --- a/src/web/app/desktop/tags/user-header.tag +++ b/src/web/app/desktop/tags/user-header.tag @@ -3,7 +3,7 @@

{ user.name }

@{ user.username }

-

{ user.location }

+

{ user.profile.location }