From 0da4de955a90735089d44b04b4aaf47f3e45f522 Mon Sep 17 00:00:00 2001 From: syuilo Date: Tue, 29 Aug 2017 22:07:51 +0900 Subject: [PATCH] Refactor --- src/web/app/desktop/tags/index.js | 2 - .../app/desktop/tags/timeline-post-sub.tag | 107 ---- src/web/app/desktop/tags/timeline-post.tag | 493 -------------- src/web/app/desktop/tags/timeline.tag | 602 ++++++++++++++++++ 4 files changed, 602 insertions(+), 602 deletions(-) delete mode 100644 src/web/app/desktop/tags/timeline-post-sub.tag delete mode 100644 src/web/app/desktop/tags/timeline-post.tag diff --git a/src/web/app/desktop/tags/index.js b/src/web/app/desktop/tags/index.js index 11243c00a0..98bfc68804 100644 --- a/src/web/app/desktop/tags/index.js +++ b/src/web/app/desktop/tags/index.js @@ -26,7 +26,6 @@ require('./ui-header-search.tag'); require('./notifications.tag'); require('./post-form-window.tag'); require('./post-form.tag'); -require('./timeline-post.tag'); require('./post-preview.tag'); require('./repost-form-window.tag'); require('./home-widgets/user-recommendation.tag'); @@ -79,7 +78,6 @@ require('./search-posts.tag'); require('./set-avatar-suggestion.tag'); require('./set-banner-suggestion.tag'); require('./repost-form.tag'); -require('./timeline-post-sub.tag'); require('./sub-post-content.tag'); require('./images-viewer.tag'); require('./image-dialog.tag'); diff --git a/src/web/app/desktop/tags/timeline-post-sub.tag b/src/web/app/desktop/tags/timeline-post-sub.tag deleted file mode 100644 index ab1e26721b..0000000000 --- a/src/web/app/desktop/tags/timeline-post-sub.tag +++ /dev/null @@ -1,107 +0,0 @@ - - - - - diff --git a/src/web/app/desktop/tags/timeline-post.tag b/src/web/app/desktop/tags/timeline-post.tag deleted file mode 100644 index 0438b146ca..0000000000 --- a/src/web/app/desktop/tags/timeline-post.tag +++ /dev/null @@ -1,493 +0,0 @@ - -
- -
-
-

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

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

- RP: -
-
- -
- -
- -
-
-
- - - - - - -
-
-
-
- -
- - -
diff --git a/src/web/app/desktop/tags/timeline.tag b/src/web/app/desktop/tags/timeline.tag index d4cd50455c..91bf7a637a 100644 --- a/src/web/app/desktop/tags/timeline.tag +++ b/src/web/app/desktop/tags/timeline.tag @@ -90,3 +90,605 @@ + + +
+ +
+
+

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

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

+ RP: +
+
+ +
+ +
+ +
+
+
+ + + + + + +
+
+
+
+ +
+ + +
+ + + + + +