diff --git a/src/components/admin/settings/newsletterConfig/NewsletterConfigListItem.vue b/src/components/admin/settings/newsletterConfig/NewsletterConfigListItem.vue new file mode 100644 index 0000000..a8f8668 --- /dev/null +++ b/src/components/admin/settings/newsletterConfig/NewsletterConfigListItem.vue @@ -0,0 +1,102 @@ + + + + Newsletter bei Type "{{ comType.type }}" versenden/exportieren als + + + + + + + + + + + + + + + + Standard (pdf nur mit Name) + {{ config == "pdf" ? "pdf mit Adresse":config }} + + + + + + + + + diff --git a/src/components/admin/settings/templateUsage/TemplatePreviewModal.vue b/src/components/admin/settings/templateUsage/TemplatePreviewModal.vue index fd27db6..41e7c27 100644 --- a/src/components/admin/settings/templateUsage/TemplatePreviewModal.vue +++ b/src/components/admin/settings/templateUsage/TemplatePreviewModal.vue @@ -42,7 +42,7 @@ export default defineComponent({ (this.$refs.viewer as HTMLIFrameElement).src = window.URL.createObjectURL(blob); }) .catch(() => { - this.status = { status: "success" }; + this.status = { status: "failed" }; }); }, }, diff --git a/src/components/admin/settings/templateUsage/TemplateUsageListItem.vue b/src/components/admin/settings/templateUsage/TemplateUsageListItem.vue index 5b4d0b6..a82bc9d 100644 --- a/src/components/admin/settings/templateUsage/TemplateUsageListItem.vue +++ b/src/components/admin/settings/templateUsage/TemplateUsageListItem.vue @@ -6,13 +6,13 @@ - + - + @@ -21,21 +21,21 @@ Kopfzeile: - Standart-Vorlage verwenden + Standard-Vorlage verwenden {{ template.template }} Hauptteil: - Standart-Vorlage verwenden + Standard-Vorlage verwenden {{ template.template }} Fußzeile: - Standart-Vorlage verwenden + Standard-Vorlage verwenden {{ template.template }} @@ -54,6 +54,7 @@ import Spinner from "@/components/Spinner.vue"; import SuccessCheckmark from "@/components/SuccessCheckmark.vue"; import FailureXMark from "@/components/FailureXMark.vue"; import { useModalStore } from "@/stores/modal"; +import { useAbilityStore } from "@/stores/ability"; + +
Newsletter bei Type "{{ comType.type }}" versenden/exportieren als
Kopfzeile:
Hauptteil:
Fußzeile: