[BUGFIX] Use Icon API for date picker icons 75/55875/3
authorFrank Naegler <frank.naegler@typo3.org>
Fri, 23 Feb 2018 13:45:48 +0000 (14:45 +0100)
committerGeorg Ringer <georg.ringer@gmail.com>
Fri, 23 Feb 2018 15:36:27 +0000 (16:36 +0100)
In the scheduler edit task view, a FontAwesome icon for the
date picker was used. This patch uses the IconViewHelper to
use the same icon as everywhere in the backend.

Resolves: #84024
Releases: master, 8.7
Change-Id: Ie1e8846ba8e3fc2eee4134cd2d97b43345b3c0e6
Reviewed-on: https://review.typo3.org/55875
Reviewed-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Tested-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
typo3/sysext/scheduler/Resources/Private/Templates/Backend/SchedulerModule/EditTask.html

index d5518d8..119ee4a 100644 (file)
@@ -75,7 +75,7 @@
                 <div class="input-group" id="tceforms-datetimefield-task_start_row-wrapper">
                     <input name="tx_scheduler[start]_hr" value="{start_value_hr}" class="form-control t3js-datetimepicker t3js-clearable" data-date-type="datetime" data-date-offset="0" type="text" id="tceforms-datetimefield-task_start_row">
                     <input name="tx_scheduler[start]" value="{start_value}" type="hidden">
-                    <span class="input-group-btn"><label class="btn btn-default" for="tceforms-datetimefield-task_start_row"><span class="fa fa-calendar"></span></label></span>
+                    <span class="input-group-btn"><label class="btn btn-default" for="tceforms-datetimefield-task_start_row"><core:icon identifier="actions-edit-pick-date" /></label></span>
                 </div>
             </div>
         </div>
@@ -85,7 +85,7 @@
                 <div class="input-group" id="tceforms-datetimefield-task_end_row-wrapper">
                     <input name="tx_scheduler[end]_hr" value="{end_value_hr}" class="form-control  t3js-datetimepicker t3js-clearable" data-date-type="datetime" data-date-offset="0" type="text" id="tceforms-datetimefield-task_end_row">
                     <input name="tx_scheduler[end]" value="{end_value}" type="hidden">
-                    <span class="input-group-btn"><label class="btn btn-default" for="tceforms-datetimefield-task_end_row"><span class="fa fa-calendar"></span></label></span>
+                    <span class="input-group-btn"><label class="btn btn-default" for="tceforms-datetimefield-task_end_row"><core:icon identifier="actions-edit-pick-date" /></label></span>
                 </div>
             </div>
         </div>
             {field.browseButton -> f:format.raw()}
         </div>
     </div>
-</f:section>
\ No newline at end of file
+</f:section>