[BUGFIX] Use correct paste-into icons in file, list and page module 97/48997/2
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:55:01 +0000 (15:55 +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/48997
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 53a4b5f..cd0ffbe 100644 (file)
@@ -681,7 +681,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 8a510c6..7f294cc 100644 (file)
@@ -457,7 +457,7 @@ class FileList extends AbstractRecordList
                                 . ' data-severity="warning"'
                                 . ' data-title="' . $this->getLanguageService()->getLL('clip_paste', true) . '"'
                                 . ' title="' . $this->getLanguageService()->getLL('clip_paste', true) . '">'
-                                . $this->iconFactory->getIcon('actions-document-paste-after', Icon::SIZE_SMALL)
+                                . $this->iconFactory->getIcon('actions-document-paste-into', Icon::SIZE_SMALL)
                                     ->render()
                                 . '</a>';
                         }
index e33edec..bd859e3 100644 (file)
@@ -292,7 +292,7 @@ class DatabaseRecordList extends AbstractDatabaseRecordList
                         . ' data-title="' . $lang->getLL('clip_paste', true) . '"'
                         . ' 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>';
                 }
             }
@@ -424,7 +424,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);
                 }
             }
@@ -1084,7 +1084,7 @@ class DatabaseRecordList extends AbstractDatabaseRecordList
                             . ' data-title="' . $lang->getLL('clip_paste', true) . '"'
                             . ' 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: