diff --git a/src/web/app/mobile/views/components/index.ts b/src/web/app/mobile/views/components/index.ts index fe65aab20..19135d08d 100644 --- a/src/web/app/mobile/views/components/index.ts +++ b/src/web/app/mobile/views/components/index.ts @@ -2,6 +2,7 @@ import Vue from 'vue'; import ui from './ui.vue'; import timeline from './timeline.vue'; +import post from './post.vue'; import posts from './posts.vue'; import imagesImage from './images-image.vue'; import drive from './drive.vue'; @@ -23,6 +24,7 @@ import widgetContainer from './widget-container.vue'; Vue.component('mk-ui', ui); Vue.component('mk-timeline', timeline); +Vue.component('mk-post', post); Vue.component('mk-posts', posts); Vue.component('mk-images-image', imagesImage); Vue.component('mk-drive', drive); diff --git a/src/web/app/mobile/views/components/notification.vue b/src/web/app/mobile/views/components/notification.vue index 2a0e5c117..506ce3493 100644 --- a/src/web/app/mobile/views/components/notification.vue +++ b/src/web/app/mobile/views/components/notification.vue @@ -1,8 +1,7 @@ - - - - + + + @@ -16,9 +15,10 @@ %fa:quote-right% - + - + + @@ -31,22 +31,14 @@ %fa:quote-left%{{ getPostSummary(notification.post.repost) }}%fa:quote-right% - + - - - - - - %fa:quote-left% - {{ notification.post.user.name }} - - {{ getPostSummary(notification.post) }} - + - + + @@ -56,35 +48,18 @@ {{ notification.user.name }} - + - - - - - - %fa:reply% - {{ notification.post.user.name }} - - {{ getPostSummary(notification.post) }} - + - - - - - - %fa:at% - {{ notification.post.user.name }} - - {{ getPostSummary(notification.post) }} - + - + + @@ -97,7 +72,7 @@ %fa:quote-left%{{ getPostSummary(notification.post) }}%fa:quote-right% - + @@ -117,73 +92,67 @@ export default Vue.extend({ diff --git a/src/web/app/mobile/views/components/posts.post.sub.vue b/src/web/app/mobile/views/components/post.sub.vue similarity index 100% rename from src/web/app/mobile/views/components/posts.post.sub.vue rename to src/web/app/mobile/views/components/post.sub.vue diff --git a/src/web/app/mobile/views/components/posts.post.vue b/src/web/app/mobile/views/components/post.vue similarity index 99% rename from src/web/app/mobile/views/components/posts.post.vue rename to src/web/app/mobile/views/components/post.vue index d0a897db6..4c8937f51 100644 --- a/src/web/app/mobile/views/components/posts.post.vue +++ b/src/web/app/mobile/views/components/post.vue @@ -77,7 +77,7 @@ import Vue from 'vue'; import MkPostMenu from '../../../common/views/components/post-menu.vue'; import MkReactionPicker from '../../../common/views/components/reaction-picker.vue'; -import XSub from './posts.post.sub.vue'; +import XSub from './post.sub.vue'; export default Vue.extend({ components: { diff --git a/src/web/app/mobile/views/components/posts.vue b/src/web/app/mobile/views/components/posts.vue index 9a9f9a313..7e71fa098 100644 --- a/src/web/app/mobile/views/components/posts.vue +++ b/src/web/app/mobile/views/components/posts.vue @@ -3,7 +3,7 @@ - + %fa:angle-up%{{ post._datetext }} %fa:angle-down%{{ _posts[i + 1]._datetext }} @@ -17,12 +17,8 @@
- %fa:quote-left% - {{ notification.post.user.name }} -
- %fa:reply% - {{ notification.post.user.name }} -
- %fa:at% - {{ notification.post.user.name }} -
%fa:angle-up%{{ post._datetext }} %fa:angle-down%{{ _posts[i + 1]._datetext }} @@ -17,12 +17,8 @@