[TASK] Add visual difference for elapsed endtime 27/53027/4
authorMarkus Sommer <markussom@posteo.de>
Fri, 2 Jun 2017 10:33:45 +0000 (12:33 +0200)
committerSusanne Moog <susanne.moog@typo3.org>
Fri, 2 Jun 2017 16:57:33 +0000 (18:57 +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/53027
Reviewed-by: Markus Sommer <markussom@posteo.de>
Tested-by: Markus Sommer <markussom@posteo.de>
Reviewed-by: Jasmina Ließmann <code@frauliessmann.de>
Tested-by: Jasmina Ließmann <code@frauliessmann.de>
Reviewed-by: Bjoern Jacob <bjoern.jacob@tritum.de>
Tested-by: Bjoern Jacob <bjoern.jacob@tritum.de>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
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 7a499d8..0b918e3 100644 (file)
@@ -2598,6 +2598,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 d27278e..55f8b1c 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>