From 2a6f42fef3ff9c087aab4589d229e0f6c1b45c90 Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Mon, 25 Apr 2022 23:50:22 +0300 Subject: unified how panel-footer works between regular timelines and user timeline --- src/components/timeline/timeline.js | 3 +- src/components/timeline/timeline.vue | 62 +++++++++++++++++++----------------- 2 files changed, 34 insertions(+), 31 deletions(-) (limited to 'src/components/timeline') diff --git a/src/components/timeline/timeline.js b/src/components/timeline/timeline.js index f79b5167..94f0e916 100644 --- a/src/components/timeline/timeline.js +++ b/src/components/timeline/timeline.js @@ -22,7 +22,8 @@ const Timeline = { 'embedded', 'count', 'pinnedStatusIds', - 'inProfile' + 'inProfile', + 'footerSlipgate' // reference to an element where we should put our footer ], data () { return { diff --git a/src/components/timeline/timeline.vue b/src/components/timeline/timeline.vue index 958808f6..ebf8ab52 100644 --- a/src/components/timeline/timeline.vue +++ b/src/components/timeline/timeline.vue @@ -46,37 +46,39 @@
-
- {{ $t('timeline.no_statuses') }} -
-
- {{ $t('timeline.no_more_statuses') }} -
- -
- -
+
+ {{ $t('timeline.no_more_statuses') }} +
+ +
+ +
+
-- cgit v1.2.3-70-g09d2