[TASK] Add visual difference for elapsed endtime 55/53055/2
authorMarkus Sommer <markussom@posteo.de>
Fri, 2 Jun 2017 10:33:45 +0000 (12:33 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Fri, 2 Jun 2017 17:22:28 +0000 (19:22 +0200)
Add an icon which indicates that the time is ahead of the endtime of the
record.

Change-Id: I04b3fcd48b554a6a15606ec580f38b2470f0327c
Resolves: #3464
Releases: master, 8.7
Reviewed-on: https://review.typo3.org/53055
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Jasmina Ließmann <code@frauliessmann.de>
Tested-by: Jasmina Ließmann <code@frauliessmann.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/core/Classes/Imaging/IconRegistry.php
typo3/sysext/core/Configuration/DefaultConfiguration.php
typo3/sysext/core/Resources/Public/Icons/T3Icons/overlay/overlay-endtime.svg

index 86ca1f5..6ed4855 100644 (file)
@@ -2610,6 +2610,12 @@ class IconRegistry implements SingletonInterface
                 'source' => 'EXT:core/Resources/Public/Icons/T3Icons/overlay/overlay-hidden.svg'
             ]
         ],
+        'overlay-endtime' => [
+            'provider' => SvgIconProvider::class,
+            'options' => [
+                'source' => 'EXT:core/Resources/Public/Icons/T3Icons/overlay/overlay-endtime.svg'
+            ]
+        ],
         'overlay-includes-subpages' => [
             'provider' => SvgIconProvider::class,
             'options' => [
index 3ad16e8..546745c 100644 (file)
@@ -260,7 +260,7 @@ return [
                 'hidden' => 'overlay-hidden',
                 'fe_group' => 'overlay-restricted',
                 'starttime' => 'overlay-scheduled',
-                'endtime' => 'overlay-scheduled',
+                'endtime' => 'overlay-endtime',
                 'futureendtime' => 'overlay-scheduled',
                 'readonly' => 'overlay-readonly',
                 'deleted' => 'overlay-deleted',
index bb016b5..babea80 100644 (file)
@@ -1 +1 @@
-<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 11 11"><circle fill="#C83C3C" cx="5.5" cy="5.5" r="5.5"/><path opacity=".2" d="M5.5 1C7.981 1 10 3.019 10 5.5S7.981 10 5.5 10 1 7.981 1 5.5 3.019 1 5.5 1m0-1a5.5 5.5 0 1 0 0 11 5.5 5.5 0 1 0 0-11z"/><path fill="#FFF" d="M5 2h1v4H5z"/><path fill="#FFF" d="M5 5h3v1H5z"/></svg>
\ No newline at end of file
+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 11 11"><circle fill="#C83C3C" cx="5.5" cy="5.5" r="5.5"/><path opacity=".2" d="M5.5 1C7.981 1 10 3.019 10 5.5S7.981 10 5.5 10 1 7.981 1 5.5 3.019 1 5.5 1m0-1a5.5 5.5 0 1 0 0 11 5.5 5.5 0 1 0 0-11z"/><path fill="#FFF" d="M5 2h1v4H5z"/><path fill="#FFF" d="M5 5h3v1H5z"/></svg>