[TASK] Replace icon with SVG: actions-edit-rename 59/43359/2
authorBenjamin Kott <benjamin.kott@outlook.com>
Tue, 15 Sep 2015 20:05:58 +0000 (22:05 +0200)
committerGeorg Ringer <georg.ringer@gmail.com>
Wed, 16 Sep 2015 07:21:12 +0000 (09:21 +0200)
Resolves: #69856
Releases: master
Change-Id: I0829160eb0dad0d20a7f6d6a507d890720989de4
Reviewed-on: http://review.typo3.org/43359
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Build/Gruntfile.js
Build/Resources/Private/Icons/Action/actions-edit-rename.svg [new file with mode: 0644]
typo3/sysext/backend/Resources/Public/Icons/Action/actions-edit-rename.svg [new file with mode: 0644]
typo3/sysext/core/Classes/Imaging/IconRegistry.php

index 76dc92d..2796b30 100644 (file)
@@ -141,6 +141,7 @@ module.exports = function(grunt) {
                                        '<%= paths.backend %>Public/Icons/Action/actions-document-save-translation.svg': '<%= paths.icons %>Action/actions-document-save-translation.svg',
                                        '<%= paths.backend %>Public/Icons/Action/actions-document-save-view.svg': '<%= paths.icons %>Action/actions-document-save-view.svg',
                                        '<%= paths.backend %>Public/Icons/Action/actions-document-save.svg': '<%= paths.icons %>Action/actions-document-save.svg',
+                                       '<%= paths.backend %>Public/Icons/Action/actions-edit-rename.svg': '<%= paths.icons %>Action/actions-edit-rename.svg',
                                        '<%= paths.backend %>Public/Icons/Action/actions-filter.svg': '<%= paths.icons %>Action/actions-filter.svg',
                                        '<%= paths.backend %>Public/Icons/Action/actions-page-new.svg': '<%= paths.icons %>Action/actions-page-new.svg',
                                        '<%= paths.backend %>Public/Icons/Action/actions-page-move.svg': '<%= paths.icons %>Action/actions-page-move.svg',
diff --git a/Build/Resources/Private/Icons/Action/actions-edit-rename.svg b/Build/Resources/Private/Icons/Action/actions-edit-rename.svg
new file mode 100644 (file)
index 0000000..dd1b1c8
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Generator: Adobe Illustrator 19.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0)  -->
+<svg version="1.1" id="Ebene_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
+        viewBox="0 0 16 16" enable-background="new 0 0 16 16" xml:space="preserve">
+<rect x="2" y="6" width="6" height="4"/>
+<path d="M16,11.5v-7C16,4.22,15.78,4,15.5,4H10V3h1V2H8v1h1v1v1v6v1v1H8v1h3v-1h-1v-1h5.5C15.78,12,16,11.78,16,11.5z M10,5h5v6h-5
+       V5z"/>
+<path d="M8,12H0.5C0.22,12,0,11.78,0,11.5v-7C0,4.22,0.22,4,0.5,4H8v1H1v6h7V12z"/>
+</svg>
diff --git a/typo3/sysext/backend/Resources/Public/Icons/Action/actions-edit-rename.svg b/typo3/sysext/backend/Resources/Public/Icons/Action/actions-edit-rename.svg
new file mode 100644 (file)
index 0000000..0959015
--- /dev/null
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M2 6h6v4H2zM16 11.5v-7c0-.28-.22-.5-.5-.5H10V3h1V2H8v1h1v10H8v1h3v-1h-1v-1h5.5c.28 0 .5-.22.5-.5zM10 5h5v6h-5V5z"/><path d="M8 12H.5c-.28 0-.5-.22-.5-.5v-7c0-.28.22-.5.5-.5H8v1H1v6h7v1z"/></svg>
\ No newline at end of file
index 1ef2a6d..c7961ec 100644 (file)
@@ -350,9 +350,9 @@ class IconRegistry implements \TYPO3\CMS\Core\SingletonInterface {
                        )
                ),
                'actions-edit-rename' => array(
-                       'provider' => FontawesomeIconProvider::class,
+                       'provider' => SvgIconProvider::class,
                        'options' => array(
-                               'name' => 'quote-right',
+                               'source' => 'EXT:backend/Resources/Public/Icons/Action/actions-edit-rename.svg',
                        )
                ),
                'actions-edit-hide' => array(