aboutsummaryrefslogtreecommitdiff
path: root/src/components/update_notification/update_notification.vue
blob: e7118d8137eb7bac0d9b131084339b51e9a2d1fe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<template>
  <Modal
    :is-open="true"
    class="UpdateNotification"
    :class="{ peek: modalPeeked }"
    :no-background="true"
  >
    <div class="UpdateNotificationModal panel">
      <div class="panel-heading">
        <span class="title">
          {{ $t('update.big_update_title') }}
        </span>
      </div>
      <div class="panel-body">
        <p>
          {{ $t('update.big_update_content') }}
        </p>
        <p>
        <button
          class="button-unstyled -link tall-status-hider"
          @click.prevent="toggleShowMore"
        >
          {{ $t("general.show_more") }}
        </button>
        {{ ' ' }}
        <button
          class="button-unstyled -link tall-status-hider"
          @click.prevent="toggleShowMore"
        >
          {{ $t("general.never_show_again") }}
        </button>
          </p>
        <img class="pleroma-tan" :src="pleromaTanVariant"/>
      </div>
    </div>
  </Modal>
</template>

<script src="./update_notification.js"></script>

<style src="./update_notification.scss" lang="scss"></style>