Commit 378ba853 authored by Thomas Löffler's avatar Thomas Löffler
Browse files

[BUGFIX] Correct check for verification and add title tag in link

parent 16b58970
Pipeline #20152 passed with stages
in 6 minutes and 19 seconds
......@@ -902,7 +902,7 @@ class Version extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity
$minimumVersion = \TYPO3\CMS\Core\Utility\VersionNumberUtility::convertVersionNumberToInteger($majorVersion . '.0');
$maximumVersion = \TYPO3\CMS\Core\Utility\VersionNumberUtility::convertVersionNumberToInteger($majorVersion . '.999');
if ($typo3Dependency->getMinimumVersion() < $maximumVersion && $typo3Dependency->getMaximumVersion() > $minimumVersion) {
if ($typo3Dependency->getMinimumVersion() <= $maximumVersion && $typo3Dependency->getMaximumVersion() >= $minimumVersion) {
return true;
}
}
......
<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers" data-namespace-typo3-fluid="true">
<a target="_blank" href="https://typo3.com/typo3-cms/extensions-integrations/what-are-verified-extensions-integrations">
<img height="{height}" src="/typo3conf/ext/ter_fe2/Resources/Public/Icons/icon_verified_extension.svg" title="Verified Extension" alt="verified" style="vertical-align: text-top;" />
<f:spaceless>
<a target="_blank" href="https://typo3.com/typo3-cms/extensions-integrations/what-are-verified-extensions-integrations" title="Verified Extension">
<img height="{height}" src="/typo3conf/ext/ter_fe2/Resources/Public/Icons/icon_verified_extension.svg" alt="verified logo" style="vertical-align: text-top;" />
<f:if condition="{withText}">
<span class="verified">verified</span>
</f:if>
</a>
</a>
</f:spaceless>
</html>
......@@ -41,10 +41,12 @@
{document.extensionKey_stringS} /
<span class="ter-ext-state ter-ext-state-{document.extensionState_stringS}">{document.extensionState_stringS}</span>
<f:if condition="{document.verified_boolS}"> /
<a target="_blank" href="https://typo3.com/typo3-cms/extensions-integrations/what-are-verified-extensions-integrations">
<img height="28" src="/typo3conf/ext/ter_fe2/Resources/Public/Icons/icon_verified_extension.svg" title="Verified Extension" alt="verified" style="vertical-align: text-top;" />
<f:spaceless>
<a target="_blank" href="https://typo3.com/typo3-cms/extensions-integrations/what-are-verified-extensions-integrations" title="Verified Extension">
<img height="28" src="/typo3conf/ext/ter_fe2/Resources/Public/Icons/icon_verified_extension.svg" alt="verified logo" style="vertical-align: text-top;" />
<span class="verified">verified</span>
</a>
</f:spaceless>
</f:if>
</h4>
<p>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment