summaryrefslogtreecommitdiff
path: root/src/web
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2017-04-01 06:48:08 +0900
committersyuilo <syuilotan@yahoo.co.jp>2017-04-01 06:48:08 +0900
commit4d34386f7f91215b2e9c521a6f962d57c7aef46a (patch)
treed4ef2c081cb13a2c6b4c5d97b001ef7d48889e4b /src/web
parent[Client] Fix HTML (diff)
downloadmisskey-4d34386f7f91215b2e9c521a6f962d57c7aef46a.tar.gz
misskey-4d34386f7f91215b2e9c521a6f962d57c7aef46a.tar.bz2
misskey-4d34386f7f91215b2e9c521a6f962d57c7aef46a.zip
[Client] Fix
Diffstat (limited to 'src/web')
-rw-r--r--src/web/app/mobile/tags/timeline-post.tag3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/web/app/mobile/tags/timeline-post.tag b/src/web/app/mobile/tags/timeline-post.tag
index 94082b8dfa..32e1a46120 100644
--- a/src/web/app/mobile/tags/timeline-post.tag
+++ b/src/web/app/mobile/tags/timeline-post.tag
@@ -7,8 +7,7 @@
<a class="avatar-anchor" href={ CONFIG.url + '/' + post.user.username }>
<img class="avatar" src={ post.user.avatar_url + '?thumbnail&size=64' } alt="avatar"/>
</a>
- <i class="fa fa-retweet"></i>
- <a class="name" href={ CONFIG.url + '/' + post.user.username }>{ '%i18n:mobile.tags.mk-timeline-post.reposted-by%'.replace('{}', post.user.name) }</a>
+ <i class="fa fa-retweet"></i>{'%i18n:mobile.tags.mk-timeline-post.reposted-by%'.substr(0, '%i18n:mobile.tags.mk-timeline-post.reposted-by%'.indexOf('{'))}<a class="name" href={ CONFIG.url + '/' + post.user.username }>{ post.user.name }</a>{'%i18n:mobile.tags.mk-timeline-post.reposted-by%'.substr('%i18n:mobile.tags.mk-timeline-post.reposted-by%'.indexOf('}') + 1)}
</p>
<mk-time time={ post.created_at }></mk-time>
</div>