Commit 4e0fe04a authored by Stefan Busemann's avatar Stefan Busemann

Merge branch '420-add-title-tags-to-version-badges' into 'develop'

Add title tags to version labels in list and detail view

Closes #420

See merge request !457
parents 2b51d989 5f66cef0
Pipeline #8089 passed with stages
in 6 minutes and 51 seconds
......@@ -834,6 +834,15 @@
<trans-unit id="none" xml:space="preserve">
<source>none</source>
</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>
</file>
</xliff>
......@@ -3,7 +3,7 @@
<h4>This version supports TYPO3</h4>
<p>
<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>
</p>
</f:if>
......
......@@ -65,13 +65,13 @@
<p class="col-sm-12">
<small>This extension supports TYPO3:</small><br>
<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 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: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>
</p>
</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