From f63ee29fac87489b754890a73f676bb143fb3b63 Mon Sep 17 00:00:00 2001
From: Henry Jameson <me@hjkos.com>
Date: Mon, 8 Aug 2022 02:14:09 +0300
Subject: proper links and fix user detection

---
 .../update_notification/update_notification.vue     | 21 ++++++++++++---------
 1 file changed, 12 insertions(+), 9 deletions(-)

(limited to 'src/components/update_notification/update_notification.vue')

diff --git a/src/components/update_notification/update_notification.vue b/src/components/update_notification/update_notification.vue
index 8cae3de9..75ac742c 100644
--- a/src/components/update_notification/update_notification.vue
+++ b/src/components/update_notification/update_notification.vue
@@ -1,6 +1,5 @@
 <template>
   <Modal
-    v-if="shouldShow"
     :is-open="!!shouldShow"
     class="UpdateNotification"
     :no-background="true"
@@ -22,14 +21,18 @@
             <p>
                 {{ $t('update.big_update_content') }}
             </p>
-            <p class="extra-info">
-                {{ $t('update.update_bugs') }}
-            </p>
-            <p class="extra-info">
-                {{ $t('update.update_changelog') }}
-            </p>
-            </div>
-            <div class="spacer-bottom"/>
+            <i18n-t keypath="update.update_bugs" tag="p" class="extra-info">
+              <template #pleromaGitlab>
+                <a target="_blank" href="https://git.pleroma.social/">{{ $t('update.update_bugs_gitlab') }}</a>
+              </template>
+            </i18n-t>
+            <i18n-t keypath="update.update_changelog" tag="p" class="extra-info">
+              <template #theFullChangelog>
+                <a target="_blank" href="https://pleroma.social/announcements/">{{ $t('update.update_changelog_here') }}</a>
+              </template>
+            </i18n-t>
+          </div>
+          <div class="spacer-bottom"/>
         </div>
       </div>
       <div class="panel-footer">
-- 
cgit v1.2.3-70-g09d2

