From a772a6561fc9388fe109160c1f46deb74ee88605 Mon Sep 17 00:00:00 2001 From: Adrian Schulz Date: Mon, 13 May 2024 16:00:40 +0200 Subject: [PATCH] formatted shadowed summarytemplate --- .../manage/Blocks/Listing/SummaryTemplate.jsx | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/frontend/src/addons/volto-plonede/src/customizations/volto/components/manage/Blocks/Listing/SummaryTemplate.jsx b/frontend/src/addons/volto-plonede/src/customizations/volto/components/manage/Blocks/Listing/SummaryTemplate.jsx index a9de0cf..6f8fcae 100644 --- a/frontend/src/addons/volto-plonede/src/customizations/volto/components/manage/Blocks/Listing/SummaryTemplate.jsx +++ b/frontend/src/addons/volto-plonede/src/customizations/volto/components/manage/Blocks/Listing/SummaryTemplate.jsx @@ -1,6 +1,10 @@ import React from 'react'; import PropTypes from 'prop-types'; -import { ConditionalLink, Component, FormattedDate } from '@plone/volto/components'; +import { + ConditionalLink, + Component, + FormattedDate, +} from '@plone/volto/components'; import { flattenToAppURL } from '@plone/volto/helpers'; import { isInternalURL } from '@plone/volto/helpers/Url/Url'; @@ -28,11 +32,12 @@ const SummaryTemplate = ({ items, linkTitle, linkHref, isEditMode }) => {

{item.title || item.id}

- { - item.start && item.end && ( -

-

- ) - } + {item.start && item.end && ( +

+ -{' '} + +

+ )}

{item.description}