mirror of
https://github.com/SkillDisplay/TYPO3ContentElements.git
synced 2024-11-23 03:36:09 +01:00
Daniel Siepmann
a1dda725a0
Show an error message in backend, to allow editors to spot the issue. Hide issues in frontend to not break frontend. Relates: #1, #2
26 lines
934 B
HTML
26 lines
934 B
HTML
<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers"
|
|
xmlns:be="http://typo3.org/ns/TYPO3/CMS/Backend/ViewHelpers"
|
|
xmlns:sd="http://typo3.org/ns/SkillDisplay/Typo3Extension/ViewHelpers"
|
|
data-namespace-typo3-fluid="true">
|
|
|
|
<a href="{be:uri.editRecord(
|
|
uid: uid,
|
|
table: 'tt_content'
|
|
)}">
|
|
<ol>
|
|
<f:for each="{skillSets}" as="skillSet">
|
|
<li>
|
|
<f:if condition="{skillSet.error}">
|
|
<f:then>
|
|
<f:be.infobox state="2">{skillSet.error}</f:be.infobox>
|
|
</f:then>
|
|
<f:else>
|
|
<strong>{skillSet.title}</strong><br>
|
|
{sd:verification.url(skillSet: skillSet.id)}
|
|
</f:else>
|
|
</f:if>
|
|
</li>
|
|
</f:for>
|
|
</ol>
|
|
</a>
|
|
</html>
|