[BUGFIX] Use correct paste-into icons in file, list and page module 49/48849/3
authorFrans Saris <frans@beech.it>
Fri, 8 Jul 2016 07:15:59 +0000 (09:15 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Sat, 16 Jul 2016 13:51:57 +0000 (15:51 +0200)
This patch changes the paste icons from paste-after to paste into in the
docheader and table/column headers of the file, list and page module.

Resolves: #76988
Releases: master, 7.6
Change-Id: I665528976de8ec81db5afd46efc8dbfa1bbd562b
Reviewed-on: https://review.typo3.org/48849
Tested-by: Bamboo TYPO3com <info@typo3.com>
Tested-by: Riccardo De Contardi <erredeco@gmail.com>
Reviewed-by: Benni Mack <benni@typo3.org>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/filelist/Classes/Controller/FileListController.php
typo3/sysext/filelist/Classes/FileList.php
typo3/sysext/recordlist/Classes/RecordList/DatabaseRecordList.php

index baa319d..e58ac5e 100644 (file)
@@ -663,7 +663,7 @@ class FileListController extends ActionController
                             'title' => $lang->getLL('clip_paste')
                         ])
                         ->setTitle($lang->getLL('clip_paste'))
-                        ->setIcon($iconFactory->getIcon('actions-document-paste-after', Icon::SIZE_SMALL));
+                        ->setIcon($iconFactory->getIcon('actions-document-paste-into', Icon::SIZE_SMALL));
                     $buttonBar->addButton($pasteButton, ButtonBar::BUTTON_POSITION_LEFT, 2);
                 }
             }
index 311fd25..840fa06 100644 (file)
@@ -402,7 +402,7 @@ class FileList extends AbstractRecordList
                                 . ' data-severity="warning"'
                                 . ' data-title="' . htmlspecialchars($this->getLanguageService()->getLL('clip_paste')) . '"'
                                 . ' title="' . htmlspecialchars($this->getLanguageService()->getLL('clip_paste')) . '">'
-                                . $this->iconFactory->getIcon('actions-document-paste-after', Icon::SIZE_SMALL)
+                                . $this->iconFactory->getIcon('actions-document-paste-into', Icon::SIZE_SMALL)
                                     ->render()
                                 . '</a>';
                         }
index 0473e12..c7ce14a 100644 (file)
@@ -293,7 +293,7 @@ class DatabaseRecordList extends AbstractDatabaseRecordList
                         . ' data-title="' . htmlspecialchars($lang->getLL('clip_paste')) . '"'
                         . ' data-content="' . htmlspecialchars($confirmText) . '"'
                         . '>'
-                        . $this->iconFactory->getIcon('actions-document-paste-after', Icon::SIZE_SMALL)->render()
+                        . $this->iconFactory->getIcon('actions-document-paste-into', Icon::SIZE_SMALL)->render()
                         . '</a>';
                 }
             }
@@ -425,7 +425,7 @@ class DatabaseRecordList extends AbstractDatabaseRecordList
                             'content' => $confirmMessage,
                             'title' => $lang->getLL('clip_paste')
                         ])
-                        ->setIcon($this->iconFactory->getIcon('actions-document-paste-after', Icon::SIZE_SMALL));
+                        ->setIcon($this->iconFactory->getIcon('actions-document-paste-into', Icon::SIZE_SMALL));
                     $buttonBar->addButton($pasteButton, ButtonBar::BUTTON_POSITION_LEFT, 40);
                 }
             }
@@ -1092,7 +1092,7 @@ class DatabaseRecordList extends AbstractDatabaseRecordList
                             . ' data-title="' . htmlspecialchars($lang->getLL('clip_paste')) . '"'
                             . ' data-content="' . htmlspecialchars($confirmMessage) . '"'
                             . ' data-severity="warning">'
-                            . $this->iconFactory->getIcon('actions-document-paste-after', Icon::SIZE_SMALL)->render()
+                            . $this->iconFactory->getIcon('actions-document-paste-into', Icon::SIZE_SMALL)->render()
                             . '</a>';
                     }
                     // If the numeric clipboard pads are enabled, display the control icons for that: