aboutsummaryrefslogtreecommitdiff
path: root/src/components/update_notification
diff options
context:
space:
mode:
authorHenry Jameson <me@hjkos.com>2022-08-08 02:14:43 +0300
committerHenry Jameson <me@hjkos.com>2022-08-08 02:14:43 +0300
commit502d76ebcd87dc29f03ded587fe5c92d655931a7 (patch)
treee39b7d393b782009c9b366a72e4c88436f0598d8 /src/components/update_notification
parentf63ee29fac87489b754890a73f676bb143fb3b63 (diff)
lint
Diffstat (limited to 'src/components/update_notification')
-rw-r--r--src/components/update_notification/update_notification.vue47
1 files changed, 34 insertions, 13 deletions
diff --git a/src/components/update_notification/update_notification.vue b/src/components/update_notification/update_notification.vue
index 75ac742c..54cb686b 100644
--- a/src/components/update_notification/update_notification.vue
+++ b/src/components/update_notification/update_notification.vue
@@ -14,45 +14,66 @@
</span>
</div>
<div class="panel-body">
- <div class="content" ref="content">
- <img class="pleroma-tan" :src="pleromaTanVariant" :style="pleromaTanStyles"/>
- <div class="spacer-top"/>
+ <div
+ ref="content"
+ class="content"
+ >
+ <img
+ class="pleroma-tan"
+ :src="pleromaTanVariant"
+ :style="pleromaTanStyles"
+ >
+ <div class="spacer-top" />
<div class="text">
<p>
- {{ $t('update.big_update_content') }}
+ {{ $t('update.big_update_content') }}
</p>
- <i18n-t keypath="update.update_bugs" tag="p" class="extra-info">
+ <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>
+ <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">
+ <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>
+ <a
+ target="_blank"
+ href="https://pleroma.social/announcements/"
+ >{{ $t('update.update_changelog_here') }}</a>
</template>
</i18n-t>
</div>
- <div class="spacer-bottom"/>
+ <div class="spacer-bottom" />
</div>
</div>
<div class="panel-footer">
<button
class="button-default"
@click.prevent="neverShowAgain"
- >
+ >
{{ $t("general.never_show_again") }}
</button>
<button
+ v-if="!showingMore"
class="button-default"
@click.prevent="toggleShow"
- v-if="!showingMore"
- >
+ >
{{ $t("general.show_more") }}
</button>
<button
class="button-default"
@click.prevent="dismiss"
- >
+ >
{{ $t("general.dismiss") }}
</button>
</div>