From b8bd5d160f546c0f2222bb762b4d7042f043eee0 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Fri, 12 Apr 2019 23:09:27 -0600 Subject: [PATCH] Fixes #659 --- .../assets/js/components/PostComponent.vue | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/resources/assets/js/components/PostComponent.vue b/resources/assets/js/components/PostComponent.vue index c7378d727..c0c157106 100644 --- a/resources/assets/js/components/PostComponent.vue +++ b/resources/assets/js/components/PostComponent.vue @@ -159,10 +159,11 @@ {{status.reblogs_count || 0}} shares -
+
{{timestampFormat()}} + {{status.visibility}}
@@ -895,6 +896,22 @@ export default { } }, + visibilityModal() { + switch(this.status.visibility) { + case 'public': + swal('Public Post', 'This post is visible to everyone.', 'info'); + break; + + case 'unlisted': + swal('Unlisted Post', 'This post is visible on profiles and with a direct links. It is not displayed on timelines.', 'info'); + break; + + case 'private': + swal('Private Post', 'This post is only visible to followers.', 'info'); + break; + } + } + }, }