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 ...@@ -902,7 +902,7 @@ class Version extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity
$minimumVersion = \TYPO3\CMS\Core\Utility\VersionNumberUtility::convertVersionNumberToInteger($majorVersion . '.0'); $minimumVersion = \TYPO3\CMS\Core\Utility\VersionNumberUtility::convertVersionNumberToInteger($majorVersion . '.0');
$maximumVersion = \TYPO3\CMS\Core\Utility\VersionNumberUtility::convertVersionNumberToInteger($majorVersion . '.999'); $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; return true;
} }
} }
......
<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers" data-namespace-typo3-fluid="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"> <f:spaceless>
<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;" /> <a target="_blank" href="https://typo3.com/typo3-cms/extensions-integrations/what-are-verified-extensions-integrations" title="Verified Extension">
<f:if condition="{withText}"> <img height="{height}" 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> <f:if condition="{withText}">
</f:if> <span class="verified">verified</span>
</a> </f:if>
</a>
</f:spaceless>
</html> </html>
...@@ -41,10 +41,12 @@ ...@@ -41,10 +41,12 @@
{document.extensionKey_stringS} / {document.extensionKey_stringS} /
<span class="ter-ext-state ter-ext-state-{document.extensionState_stringS}">{document.extensionState_stringS}</span> <span class="ter-ext-state ter-ext-state-{document.extensionState_stringS}">{document.extensionState_stringS}</span>
<f:if condition="{document.verified_boolS}"> / <f:if condition="{document.verified_boolS}"> /
<a target="_blank" href="https://typo3.com/typo3-cms/extensions-integrations/what-are-verified-extensions-integrations"> <f:spaceless>
<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;" /> <a target="_blank" href="https://typo3.com/typo3-cms/extensions-integrations/what-are-verified-extensions-integrations" title="Verified Extension">
<span class="verified">verified</span> <img height="28" src="/typo3conf/ext/ter_fe2/Resources/Public/Icons/icon_verified_extension.svg" alt="verified logo" style="vertical-align: text-top;" />
</a> <span class="verified">verified</span>
</a>
</f:spaceless>
</f:if> </f:if>
</h4> </h4>
<p> <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