Skip to content

Commit 630de5e

Browse files
author
Bogdan Plieshka
committed
MAGETWO-31195: Image compression and sizing
- Changed part images from .gif to .png - Additionaly minified images - Cleaned unused .gif
1 parent 369f09c commit 630de5e

File tree

122 files changed

+731
-83
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

122 files changed

+731
-83
lines changed

app/code/Magento/Backend/Block/System/Design/Edit/Tab/General.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ protected function _prepareForm()
9797
'label' => __('Date From'),
9898
'title' => __('Date From'),
9999
'name' => 'date_from',
100-
'image' => $this->getViewFileUrl('images/grid-cal.gif'),
100+
'image' => $this->getViewFileUrl('images/grid-cal.png'),
101101
'date_format' => $dateFormat
102102
//'required' => true
103103
]
@@ -109,7 +109,7 @@ protected function _prepareForm()
109109
'label' => __('Date To'),
110110
'title' => __('Date To'),
111111
'name' => 'date_to',
112-
'image' => $this->getViewFileUrl('images/grid-cal.gif'),
112+
'image' => $this->getViewFileUrl('images/grid-cal.png'),
113113
'date_format' => $dateFormat
114114
//'required' => true
115115
]

app/code/Magento/Backend/Block/Widget/Form.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ protected function _applyTypeSpecificConfig($inputType, $element, \Magento\Eav\M
226226
$element->setCanBeEmpty(true);
227227
break;
228228
case 'date':
229-
$element->setImage($this->getViewFileUrl('images/grid-cal.gif'));
229+
$element->setImage($this->getViewFileUrl('images/grid-cal.png'));
230230
$element->setDateFormat($this->_localeDate->getDateFormatWithLongYear());
231231
break;
232232
case 'multiline':

app/code/Magento/Backend/Block/Widget/Grid/Column/Filter/Date.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ public function getHtml()
9696
'",
9797
buttonImage: "' .
9898
$this->getViewFileUrl(
99-
'images/grid-cal.gif'
99+
'images/grid-cal.png'
100100
) . '",
101101
buttonText: "' . $this->escapeHtml(__('Date selector')) .
102102
'",

app/code/Magento/Backend/Block/Widget/Grid/Column/Filter/Datetime.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ public function getHtml()
136136
dateFormat: "' . $format . '",
137137
timeFormat: "' . $timeFormat . '",
138138
showsTime: ' . ($this->getColumn()->getFilterTime() ? 'true' : 'false') . ',
139-
buttonImage: "' . $this->getViewFileUrl('images/grid-cal.gif') . '",
139+
buttonImage: "' . $this->getViewFileUrl('images/grid-cal.png') . '",
140140
buttonText: "' . $this->escapeHtml(__('Date selector')) . '",
141141
from: {
142142
id: "' . $htmlId . '_from"
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)