diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2017-02-08 23:37:52 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2017-02-08 23:37:52 +0900 |
| commit | 9e772626ce36001342a60604a87b4bcbeee22b7e (patch) | |
| tree | 3a319186c45e7514c232986d2fb8ca1f8751f3e2 /src | |
| parent | [API] postにappを含めるように (diff) | |
| download | sharkey-9e772626ce36001342a60604a87b4bcbeee22b7e.tar.gz sharkey-9e772626ce36001342a60604a87b4bcbeee22b7e.tar.bz2 sharkey-9e772626ce36001342a60604a87b4bcbeee22b7e.zip | |
[Client] Implement #102
Diffstat (limited to 'src')
| -rw-r--r-- | src/web/app/desktop/tags/timeline-post.tag | 22 |
1 files changed, 17 insertions, 5 deletions
diff --git a/src/web/app/desktop/tags/timeline-post.tag b/src/web/app/desktop/tags/timeline-post.tag index 18d0f37161..0105617e0d 100644 --- a/src/web/app/desktop/tags/timeline-post.tag +++ b/src/web/app/desktop/tags/timeline-post.tag @@ -22,9 +22,12 @@ <a class="name" href={ CONFIG.url + '/' + p.user.username } data-user-preview={ p.user.id }>{ p.user.name }</a> <span class="is-bot" if={ p.user.is_bot }>bot</span> <span class="username">@{ p.user.username }</span> - <a class="created-at" href={ url }> - <mk-time time={ p.created_at }></mk-time> - </a> + <div class="info"> + <span class="app" if={ p.app }>via <b>{ p.app.name }</b></span> + <a class="created-at" href={ url }> + <mk-time time={ p.created_at }></mk-time> + </a> + </div> </header> <div class="body"> <div class="text"> @@ -186,12 +189,21 @@ margin 0 0 0 8px color #ccc - > .created-at + > .info position absolute top 0 right 0 + text-align right font-size 0.9em - color #c0c0c0 + + > .app + margin-right 8px + padding-right 8px + color #ccc + border-right solid 1px #eaeaea + + > .created-at + color #c0c0c0 > .body |