Commit 5f66cef0 authored by Thomas Löffler's avatar Thomas Löffler

Add title tags to version labels in list and detail view

parent fc3e6b12
Pipeline #8077 passed with stages
in 3 minutes and 31 seconds
...@@ -834,6 +834,15 @@ ...@@ -834,6 +834,15 @@
<trans-unit id="none" xml:space="preserve"> <trans-unit id="none" xml:space="preserve">
<source>none</source> <source>none</source>
</trans-unit> </trans-unit>
<trans-unit id="title_warning" xml:space="preserve">
<source>Supports outdated version %s.</source>
</trans-unit>
<trans-unit id="title_success" xml:space="preserve">
<source>Supports currently supported version %s.</source>
</trans-unit>
<trans-unit id="title_info" xml:space="preserve">
<source>Supports development version %s.</source>
</trans-unit>
</body> </body>
</file> </file>
</xliff> </xliff>
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
<h4>This version supports TYPO3</h4> <h4>This version supports TYPO3</h4>
<p> <p>
<f:for each="{version.matrixOfSupportedTypo3Versions}" as="version"> <f:for each="{version.matrixOfSupportedTypo3Versions}" as="version">
<button class="btn btn-{version.badgeClass} btn-sm mr-2" disabled>{version.label}</button> <button class="btn btn-{version.badgeClass} btn-sm mr-2" disabled title="{f:translate(key:'title_{version.badgeClass}', arguments: {0: version.label})}">{version.label}</button>
</f:for> </f:for>
</p> </p>
</f:if> </f:if>
......
...@@ -65,13 +65,13 @@ ...@@ -65,13 +65,13 @@
<p class="col-sm-12"> <p class="col-sm-12">
<small>This extension supports TYPO3:</small><br> <small>This extension supports TYPO3:</small><br>
<f:for each="{document.typo3supportold_stringM}" as="oldVersion"> <f:for each="{document.typo3supportold_stringM}" as="oldVersion">
<button class="btn btn-warning btn-sm mr-2" disabled>{oldVersion}</button> <button class="btn btn-warning btn-sm mr-2" disabled title="{f:translate(key:'title_warning', arguments: {0: oldVersion})}">{oldVersion}</button>
</f:for> </f:for>
<f:for each="{document.typo3support_stringM}" as="maintainedVersion"> <f:for each="{document.typo3support_stringM}" as="maintainedVersion">
<button class="btn btn-success btn-sm mr-2" disabled>{maintainedVersion}</button> <button class="btn btn-success btn-sm mr-2" disabled title="{f:translate(key:'title_success', arguments: {0: maintainedVersion})}">{maintainedVersion}</button>
</f:for> </f:for>
<f:if condition="{document.typo3supportdev_stringS}"> <f:if condition="{document.typo3supportdev_stringS}">
<button class="btn btn-info btn-sm" disabled>{document.typo3supportdev_stringS}</button> <button class="btn btn-info btn-sm" disabled title="{f:translate(key:'title_info', arguments: {0: document.typo3supportdev_stringS})}">{document.typo3supportdev_stringS}</button>
</f:if> </f:if>
</p> </p>
</div> </div>
......
Markdown is supported
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