Skip to content

Commit

Permalink
[TASK] Show information text as infobox in "Workspaces" backend module
Browse files Browse the repository at this point in the history
If no record was found in "Workspaces" backend module, an information
is displayed. This text is now displayed in the typical infobox style
instead of with specific Bootstrap styling classes.

Resolves: #103714
Releases: main, 12.4
Change-Id: I78637defba53cebdfc659b2414c59b4f4dbb7bbb
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/84010
Reviewed-by: Jasmina Ließmann <minapokhalo+typo3@gmail.com>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Benni Mack <benni@typo3.org>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: core-ci <typo3@b13.com>
Tested-by: Jasmina Ließmann <minapokhalo+typo3@gmail.com>
Reviewed-by: Benni Mack <benni@typo3.org>
  • Loading branch information
minapok committed Apr 23, 2024
1 parent 005f04a commit 428358a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
Expand Up @@ -7,7 +7,7 @@
<source>Workspaces</source>
</trans-unit>
<trans-unit id="noResults" resname="noResults">
<source>No records found</source>
<source>No records found.</source>
</trans-unit>
<trans-unit id="ok" resname="ok">
<source>Ok</source>
Expand Down
Expand Up @@ -58,9 +58,10 @@
<typo3-workspaces-record-table></typo3-workspaces-record-table>
</div>
<div id="workspace-contents-empty" style="display: none">
<div class="shadow-sm bg-info bg-gradient p-3">
<f:translate key="LLL:EXT:workspaces/Resources/Private/Language/locallang.xlf:noResults" />
</div>
<f:be.infobox
message="{f:translate(key:'LLL:EXT:workspaces/Resources/Private/Language/locallang.xlf:noResults')}"
state="-2"
/>
</div>
</div>
<f:render section="multiRecordSelectionActions" arguments="{stageActions: stageActions, availableStages: availableStages, showEntireWorkspaceDropDown: showEntireWorkspaceDropDown, position: 'bottom'}" />
Expand Down

0 comments on commit 428358a

Please sign in to comment.