From e73abea25e644de43953a1b7e436e00a861417ee Mon Sep 17 00:00:00 2001 From: syuilo Date: Tue, 29 Aug 2017 21:59:57 +0900 Subject: [PATCH] Refactor --- src/web/app/mobile/tags/index.js | 2 - src/web/app/mobile/tags/timeline-post-sub.tag | 101 ---- src/web/app/mobile/tags/timeline-post.tag | 414 -------------- src/web/app/mobile/tags/timeline.tag | 517 ++++++++++++++++++ 4 files changed, 517 insertions(+), 517 deletions(-) delete mode 100644 src/web/app/mobile/tags/timeline-post-sub.tag delete mode 100644 src/web/app/mobile/tags/timeline-post.tag diff --git a/src/web/app/mobile/tags/index.js b/src/web/app/mobile/tags/index.js index 2e6b47807..6f985a91f 100644 --- a/src/web/app/mobile/tags/index.js +++ b/src/web/app/mobile/tags/index.js @@ -24,8 +24,6 @@ require('./page/messaging-room.tag'); require('./home.tag'); require('./home-timeline.tag'); require('./timeline.tag'); -require('./timeline-post.tag'); -require('./timeline-post-sub.tag'); require('./post-preview.tag'); require('./sub-post-content.tag'); require('./images-viewer.tag'); diff --git a/src/web/app/mobile/tags/timeline-post-sub.tag b/src/web/app/mobile/tags/timeline-post-sub.tag deleted file mode 100644 index 3fff552e8..000000000 --- a/src/web/app/mobile/tags/timeline-post-sub.tag +++ /dev/null @@ -1,101 +0,0 @@ - - - - - diff --git a/src/web/app/mobile/tags/timeline-post.tag b/src/web/app/mobile/tags/timeline-post.tag deleted file mode 100644 index 2395e9fb7..000000000 --- a/src/web/app/mobile/tags/timeline-post.tag +++ /dev/null @@ -1,414 +0,0 @@ - -
- -
-
-

- - avatar - - {'%i18n:mobile.tags.mk-timeline-post.reposted-by%'.substr(0, '%i18n:mobile.tags.mk-timeline-post.reposted-by%'.indexOf('{'))}{ post.user.name }{'%i18n:mobile.tags.mk-timeline-post.reposted-by%'.substr('%i18n:mobile.tags.mk-timeline-post.reposted-by%'.indexOf('}') + 1)} -

- -
-
- - avatar - -
-
- { p.user.name } - bot - @{ p.user.username } - - - -
-
-
- - - -

- RP: -
-
- -
- - via { p.app.name } -
- -
-
-
- - - - -
-
-
- - -
diff --git a/src/web/app/mobile/tags/timeline.tag b/src/web/app/mobile/tags/timeline.tag index 9e39cf80d..6895384a5 100644 --- a/src/web/app/mobile/tags/timeline.tag +++ b/src/web/app/mobile/tags/timeline.tag @@ -144,3 +144,520 @@ }; + + +
+ +
+
+

+ + avatar + + {'%i18n:mobile.tags.mk-timeline-post.reposted-by%'.substr(0, '%i18n:mobile.tags.mk-timeline-post.reposted-by%'.indexOf('{'))}{ post.user.name }{'%i18n:mobile.tags.mk-timeline-post.reposted-by%'.substr('%i18n:mobile.tags.mk-timeline-post.reposted-by%'.indexOf('}') + 1)} +

+ +
+
+ + avatar + +
+
+ { p.user.name } + bot + @{ p.user.username } + + + +
+
+
+ + + +

+ RP: +
+
+ +
+ + via { p.app.name } +
+ +
+
+
+ + + + +
+
+
+ + +
+ + + + + +