2022-08-01 21:37:48 +00:00
|
|
|
<template>
|
|
|
|
<Modal
|
2022-08-03 22:56:52 +00:00
|
|
|
:is-open="shouldShow"
|
2022-08-01 21:37:48 +00:00
|
|
|
class="UpdateNotification"
|
|
|
|
:no-background="true"
|
|
|
|
>
|
2022-08-03 22:56:52 +00:00
|
|
|
<div
|
|
|
|
class="UpdateNotificationModal panel"
|
|
|
|
:class="{ '-peek': !showingMore }"
|
|
|
|
>
|
2022-08-01 21:37:48 +00:00
|
|
|
<div class="panel-heading">
|
|
|
|
<span class="title">
|
|
|
|
{{ $t('update.big_update_title') }}
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
<div class="panel-body">
|
2022-08-03 22:56:52 +00:00
|
|
|
<div class="content" ref="content">
|
|
|
|
<img class="pleroma-tan" :src="pleromaTanVariant" :style="pleromaTanStyles"/>
|
|
|
|
<div class="spacer-top"/>
|
|
|
|
<div class="text">
|
|
|
|
<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"/>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="panel-footer">
|
|
|
|
<button
|
|
|
|
class="button-default"
|
|
|
|
@click.prevent="neverShowAgain"
|
|
|
|
>
|
|
|
|
{{ $t("general.never_show_again") }}
|
|
|
|
</button>
|
2022-08-01 21:37:48 +00:00
|
|
|
<button
|
2022-08-03 22:56:52 +00:00
|
|
|
class="button-default"
|
2022-08-01 21:37:48 +00:00
|
|
|
@click.prevent="toggleShowMore"
|
2022-08-03 22:56:52 +00:00
|
|
|
v-if="!showingMore"
|
|
|
|
>
|
2022-08-01 21:37:48 +00:00
|
|
|
{{ $t("general.show_more") }}
|
|
|
|
</button>
|
|
|
|
<button
|
2022-08-03 22:56:52 +00:00
|
|
|
class="button-default"
|
|
|
|
@click.prevent="dismiss"
|
|
|
|
>
|
|
|
|
{{ $t("general.dismiss") }}
|
2022-08-01 21:37:48 +00:00
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</Modal>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script src="./update_notification.js"></script>
|
|
|
|
|
|
|
|
<style src="./update_notification.scss" lang="scss"></style>
|