Skip to content

Commit

Permalink
[BUGFIX] Replace legacy bootstrap classes supported by FontAwesome
Browse files Browse the repository at this point in the history
FontAwesome provides CSS classes that align with the old Bootstrap v3
classes, which will cause troubles with the removal of FontAwesome.
As another preparation task, those classes are be replaced with the
according Bootstrap classes.

Classes replaced:

* pull-left -> float-start
* pull-right -> float-end
* sr-only -> visually-hidden

Resolves: #98064
Resolves: #94531
Releases: main, 11.5
Change-Id: I4e96572e6b3a0007a7bf68f3018934f73da6249b
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/75344
Tested-by: core-ci <[email protected]>
Tested-by: Oliver Bartsch <[email protected]>
Tested-by: Stefan Kapitza <[email protected]>
Tested-by: Andreas Fernandez <[email protected]>
Reviewed-by: Oliver Bartsch <[email protected]>
Reviewed-by: Georg Ringer <[email protected]>
Reviewed-by: Stefan Kapitza <[email protected]>
Reviewed-by: Andreas Fernandez <[email protected]>
  • Loading branch information
andreaskienast committed Aug 5, 2022
1 parent 5e411bf commit ed9d222
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Resources/Private/Templates/BackendUser/Compare.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ <h1>{f:translate(key:'compareBackendUsers')}</h1>
</a>
{compareData.user.username}

<f:link.action action="removeFromCompareList" arguments="{uid: compareData.user.uid, redirectToCompare:1}" class="btn btn-default pull-right">
<f:link.action action="removeFromCompareList" arguments="{uid: compareData.user.uid, redirectToCompare:1}" class="btn btn-default float-end">
<core:icon identifier="actions-remove" size="small"/>
</f:link.action>
<be:link.editRecord class="btn btn-default pull-right" table="be_users" uid="{compareData.user.uid}" title="edit">
<be:link.editRecord class="btn btn-default float-end" table="be_users" uid="{compareData.user.uid}" title="edit">
<core:icon identifier="actions-open" />
</be:link.editRecord>
</th>
Expand Down
4 changes: 2 additions & 2 deletions Resources/Private/Templates/BackendUser/CompareGroups.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ <h1>{f:translate(key:'compareBackendUsersGroups')}</h1>
<f:for each="{compareGroupList}" as="compareData">
<th class="nowrap">
{compareData.group.title} [{compareData.group.uid}]
<f:link.action action="removeGroupFromCompareList" arguments="{uid: compareData.group.uid, redirectToCompare:1}" class="btn btn-default pull-right">
<f:link.action action="removeGroupFromCompareList" arguments="{uid: compareData.group.uid, redirectToCompare:1}" class="btn btn-default float-end">
<core:icon identifier="actions-remove" size="small"/>
</f:link.action>
<be:link.editRecord class="btn btn-default pull-right" table="be_groups" uid="{compareData.group.uid}">
<be:link.editRecord class="btn btn-default float-end" table="be_groups" uid="{compareData.group.uid}">
<core:icon identifier="actions-open" />
</be:link.editRecord>
</th>
Expand Down

0 comments on commit ed9d222

Please sign in to comment.