Commit 3e58f43b authored by Nikita Hovratov's avatar Nikita Hovratov Committed by Oliver Bartsch
Browse files

[TASK] Show languageIds in site module overview

It is convenient to see the languageId directly in the
overview, without having to click on the edit button. This
is especially useful for sites with a huge amount of
languages.

Resolves: #97954
Releases: main, 11.5
Change-Id: Ie6f0afd9f30b1b1dc680cfd0af5bf0710d4a9b8f
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/75202

Tested-by: core-ci's avatarcore-ci <typo3@b13.com>
Tested-by: Benni Mack's avatarBenni Mack <benni@typo3.org>
Tested-by: Andreas Fernandez's avatarAndreas Fernandez <a.fernandez@scripting-base.de>
Tested-by: Oliver Bartsch's avatarOliver Bartsch <bo@cedev.de>
Reviewed-by: Benni Mack's avatarBenni Mack <benni@typo3.org>
Reviewed-by: Oliver Klee's avatarOliver Klee <typo3-coding@oliverklee.de>
Reviewed-by: Andreas Fernandez's avatarAndreas Fernandez <a.fernandez@scripting-base.de>
Reviewed-by: Oliver Bartsch's avatarOliver Bartsch <bo@cedev.de>
parent 63e2de04
......@@ -108,10 +108,10 @@
<td>
<f:if condition="{siteLanguage.enabled}">
<f:then>
<core:icon identifier="{siteLanguage.flagIdentifier}" /> {siteLanguage.title}
<core:icon identifier="{siteLanguage.flagIdentifier}" /> {siteLanguage.title} <code class="m-0">[{siteLanguage.languageId}]</code>
</f:then>
<f:else>
<core:icon identifier="{siteLanguage.flagIdentifier}" overlay="overlay-hidden" /> <span class="text-muted">{siteLanguage.title} (<f:translate key="LLL:EXT:core/Resources/Private/Language/locallang_common.xlf:disabled">disabled</f:translate>)</span>
<core:icon identifier="{siteLanguage.flagIdentifier}" overlay="overlay-hidden" /> <span class="text-muted">{siteLanguage.title} (<f:translate key="LLL:EXT:core/Resources/Private/Language/locallang_common.xlf:disabled">disabled</f:translate>) <code class="m-0">[{siteLanguage.languageId}]</code></span>
</f:else>
</f:if>
</td>
......
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