Files
VITEC-website/packages/vitec/Resources/Private/Templates/Preview/SubmarketSection.html
T
orasche 78af83d2e3 - The three market Content Blocks preview as compact collapsible rows:
thumbnail of the actual image (hero background, intro image, insights
  cover), key copy in the summary line, full details expanded; card and
  intro-paragraph previews are wrapped in the same mechanism
- New SubmarketPluginPreview for vitec_usecaselist / vitec_productfeature /
  vitec_productlist: instead of bare standard boxes they now list the
  selected story titles (flagging stories that still lack a quote), the
  featured product and the hand-picked products in order
- Container-style collapse for whole page-module COLUMNS: a chevron at the
  right of every column header folds a section down to its title row,
  state kept per page and colPos in localStorage - the slot view of a
  sub-market page folds to six slim bands
- Previews sit under the page module's pointer-events lock and its
  click-to-edit layer: pointer events are re-enabled inside the collapse
  markup and the toggle runs on pointerdown in the capture phase
- Two more v14 removals fixed on the way, both latent in the OLDER preview
  classes too (Usecaseshow, Modelcard would have crashed the page module):
  GridColumnItem::getRecord() now returns a Domain\Record object, and
  StandaloneView is gone - previews normalize the record via a shared
  helper and render through the ViewFactory
2026-10-02 15:00:05 +02:00

31 lines
1.1 KiB
HTML

<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers" data-namespace-typo3-fluid="true">
<f:asset.css identifier="vitec-backend-preview" href="EXT:vitec/Resources/Public/Css/backend-preview.css"/>
<f:asset.script identifier="vitec-backend-collapse" src="EXT:vitec/Resources/Public/JavaScript/backend-preview-collapse.js"/>
<details class="vitec-collapse">
<summary>
<span class="vitec-collapse__label">{label}</span>
<span class="vitec-collapse__hint">{hint}</span>
</summary>
<div class="vitec-collapse__body">
<f:if condition="{header}">
<p><strong>Überschrift:</strong> {header}</p>
</f:if>
<f:if condition="{items}">
<f:then>
<ol style="margin:0.25rem 0 0 1rem; padding:0;">
<f:for each="{items}" as="entry">
<li>{entry}</li>
</f:for>
</ol>
</f:then>
<f:else>
<p><em>Keine Einzelauswahl.</em></p>
</f:else>
</f:if>
</div>
</details>
</html>