Skip to content
Snippets Groups Projects
Commit 5463a19d authored by Josef Glatz's avatar Josef Glatz Committed by Christian Kuhn
Browse files

[TASK] Show original user on new line in ElementHistoryController

This patch improves the readability of the record history view
of an element which was edited in switchTo mode by showing the
original user always on a new line.

div tags are used instead of span tags, to reduce any dependency
on bootstrap classes for displaying an element as display:block.

Resolves: #102200
Related: #102091
Releases: main, 12.4
Change-Id: I873711d4be6651ff15ae82e0bd7cbc4c6bf16e26
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/81464


Tested-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Tested-by: default avatarcore-ci <typo3@b13.com>
parent b497cc70
Branches
Tags
No related merge requests found
......@@ -50,7 +50,7 @@
<f:if condition="{historyRow.backendUserRealName}">
<f:then>
{historyRow.backendUserRealName}
<span class="text-muted d-block">({f:if(condition: historyRow.backendUserName, then: historyRow.backendUserName, else: '{f:translate(key: \'LLL:EXT:backend/Resources/Private/Language/locallang_show_rechis.xlf:userNotFound\')}')})</span>
<div class="text-muted">({f:if(condition: historyRow.backendUserName, then: historyRow.backendUserName, else: '{f:translate(key: \'LLL:EXT:backend/Resources/Private/Language/locallang_show_rechis.xlf:userNotFound\')}')})</div>
</f:then>
<f:else>
{f:if(condition: historyRow.backendUserName, then: historyRow.backendUserName, else: '{f:translate(key: \'LLL:EXT:backend/Resources/Private/Language/locallang_show_rechis.xlf:userNotFound\')}')}
......@@ -62,7 +62,7 @@
</f:else>
</f:if>
<f:if condition="{historyRow.originalBackendUserUid}">
({f:translate(key: 'LLL:EXT:backend/Resources/Private/Language/locallang_show_rechis.xlf:viaUser')} {f:if(condition: historyRow.originalBackendUserName, then: historyRow.originalBackendUserName, else: '{f:translate(key: \'LLL:EXT:backend/Resources/Private/Language/locallang_show_rechis.xlf:userNotFound\')}')})
<div>({f:translate(key: 'LLL:EXT:backend/Resources/Private/Language/locallang_show_rechis.xlf:viaUser')} {f:if(condition: historyRow.originalBackendUserName, then: historyRow.originalBackendUserName, else: '{f:translate(key: \'LLL:EXT:backend/Resources/Private/Language/locallang_show_rechis.xlf:userNotFound\')}')})</div>
</f:if>
</td>
<f:if condition="{isUserInWorkspace}">
......
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