logo

pleroma-fe

My custom branche(s) on git.pleroma.social/pleroma/pleroma-fe git clone https://anongit.hacktivis.me/git/pleroma-fe.git/

draft_closer.vue (1016B)


  1. <template>
  2. <teleport to="#modal">
  3. <dialog-modal
  4. v-if="showing"
  5. v-body-scroll-lock="true"
  6. class="confirm-modal"
  7. :on-cancel="cancel"
  8. >
  9. <template #header>
  10. <span>
  11. {{ $t('post_status.close_confirm_title') }}
  12. </span>
  13. </template>
  14. {{ $t('post_status.close_confirm') }}
  15. <template #footer>
  16. <button
  17. class="btn button-default"
  18. @click.prevent="save"
  19. >
  20. {{ $t('post_status.close_confirm_save_button') }}
  21. </button>
  22. <button
  23. class="btn button-default"
  24. @click.prevent="discard"
  25. >
  26. {{ $t('post_status.close_confirm_discard_button') }}
  27. </button>
  28. <button
  29. class="btn button-default"
  30. @click.prevent="cancel"
  31. >
  32. {{ $t('post_status.close_confirm_continue_composing_button') }}
  33. </button>
  34. </template>
  35. </dialog-modal>
  36. </teleport>
  37. </template>
  38. <script src="./draft_closer.js"></script>