From 8946944eb184053838301c60580726f48981381e Mon Sep 17 00:00:00 2001 From: Denys Konovalov Date: Wed, 25 Sep 2024 17:48:40 +0200 Subject: [PATCH] remove fax --- layouts/kontakt/list.html | 1 - .../admin/previews/page-previews/kontakt-preview.js | 12 +----------- 2 files changed, 1 insertion(+), 12 deletions(-) diff --git a/layouts/kontakt/list.html b/layouts/kontakt/list.html index a3c2b9a6..c1d2b1d1 100644 --- a/layouts/kontakt/list.html +++ b/layouts/kontakt/list.html @@ -35,7 +35,6 @@ {{ end }}
  • {{ partial "mdi" "phone-outline" }}Telefon: +49-0345/6903156

    -

    {{ partial "mdi" "fax" }}Fax: +49-0345/6903157

  • diff --git a/static/admin/previews/page-previews/kontakt-preview.js b/static/admin/previews/page-previews/kontakt-preview.js index 03bdef71..53910307 100644 --- a/static/admin/previews/page-previews/kontakt-preview.js +++ b/static/admin/previews/page-previews/kontakt-preview.js @@ -51,11 +51,7 @@ const KontaktPreview = ({ widgetsFor, entry }) => { "li", { className: "list-group-item" }, h("p", { className: "card-title mb-0" }, person.data.name), - h( - "p", - { className: "text-muted mb-0" }, - person.data.position - ), + h("p", { className: "text-muted mb-0" }, person.data.position), h( "p", { className: "card-text" }, @@ -74,12 +70,6 @@ const KontaktPreview = ({ widgetsFor, entry }) => { { className: "card-text" }, h("i", { className: "mdi mdi-phone-outline me-2" }), "Telefon: +49-0345/6903156" - ), - h( - "p", - { className: "card-text" }, - h("i", { className: "mdi mdi-fax me-2" }), - "Fax: +49-0345/6903157" ) ) )