diff --git a/src/web/app/mobile/tags/home-timeline.tag b/src/web/app/mobile/tags/home-timeline.tag deleted file mode 100644 index 88e26bc785..0000000000 --- a/src/web/app/mobile/tags/home-timeline.tag +++ /dev/null @@ -1,69 +0,0 @@ - - - - - - diff --git a/src/web/app/mobile/tags/timeline.tag b/src/web/app/mobile/tags/timeline.tag index ed3f88c043..8a4d72b677 100644 --- a/src/web/app/mobile/tags/timeline.tag +++ b/src/web/app/mobile/tags/timeline.tag @@ -1,140 +1,3 @@ - - - %fa:spinner .pulse%%i18n:common.loading% - - - %fa:R comments%{ opts.empty || '%i18n:mobile.tags.mk-timeline.empty%' } - - - - - %fa:angle-up%{ post._datetext } - %fa:angle-down%{ posts[i + 1]._datetext } - - - - - - diff --git a/src/web/app/mobile/views/posts.vue b/src/web/app/mobile/views/posts.vue new file mode 100644 index 0000000000..0edda5e94c --- /dev/null +++ b/src/web/app/mobile/views/posts.vue @@ -0,0 +1,97 @@ + + + + + + + %fa:angle-up%{{ post._datetext }} + %fa:angle-down%{{ _posts[i + 1]._datetext }} + + + + + + + + + diff --git a/src/web/app/mobile/views/timeline.vue b/src/web/app/mobile/views/timeline.vue new file mode 100644 index 0000000000..3a5df7792f --- /dev/null +++ b/src/web/app/mobile/views/timeline.vue @@ -0,0 +1,89 @@ + + + + + + %fa:spinner .pulse%%i18n:common.loading% + + + %fa:R comments% + %i18n:mobile.tags.mk-home-timeline.empty-timeline% + + + %i18n:mobile.tags.mk-timeline.load-more% + %i18n:common.loading% + + + + + +
- %fa:angle-up%{ post._datetext } - %fa:angle-down%{ posts[i + 1]._datetext } -
+ %fa:angle-up%{{ post._datetext }} + %fa:angle-down%{{ _posts[i + 1]._datetext }} +