[TASK] Improve styling of infobox in ImageManipulationElement 41/58441/8
authorGeorg Ringer <georg.ringer@gmail.com>
Fri, 28 Sep 2018 19:35:11 +0000 (21:35 +0200)
committerTymoteusz Motylewski <t.motylewski@gmail.com>
Fri, 28 Sep 2018 20:21:52 +0000 (22:21 +0200)
The cropping element shows an information if no dimensions are known.
The styling of this information is now improved.

Resolves: #86429
Releases: master, 8.7
Change-Id: I28b6e4da560e591a57e6c849488f59ddf5cd5736
Reviewed-on: https://review.typo3.org/58441
Reviewed-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Tested-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Reviewed-by: Josef Glatz <josef.glatz@typo3.org>
Tested-by: Josef Glatz <josef.glatz@typo3.org>
Reviewed-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
Tested-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
typo3/sysext/backend/Resources/Private/Templates/ImageManipulation/ImageManipulationElement.html

index 4cc09cb..3a6c69d 100644 (file)
                                                </p>
                                        </f:then>
                                        <f:else>
-                                               <h4 class="alert-title">
-                                                       <f:translate key="LLL:EXT:core/Resources/Private/Language/locallang_wizards.xlf:imwizard.no-image-dimensions"/>
-                                               </h4>
-                                               <p class="alert-message">
-                                                       <f:translate key="LLL:EXT:core/Resources/Private/Language/locallang_wizards.xlf:imwizard.no-image-dimensions-message"/>
-                                               </p>
+                                               <div class="alert alert-info">
+                                                       <h4>
+                                                               <f:translate key="LLL:EXT:core/Resources/Private/Language/locallang_wizards.xlf:imwizard.no-image-dimensions"/>
+                                                       </h4>
+                                                       <p>
+                                                               <f:translate key="LLL:EXT:core/Resources/Private/Language/locallang_wizards.xlf:imwizard.no-image-dimensions-message"/>
+                                                       </p>
+                                               </div>
                                        </f:else>
                                </f:if>
                                </div>