mirror of
https://github.com/silverstripe/silverstripe-blog
synced 2024-10-22 11:05:58 +02:00
FIX Use clock icon for scheduled posts
This commit is contained in:
parent
dd66125f3a
commit
c122f17d91
@ -51,7 +51,7 @@ class GridFieldBlogPostState extends GridFieldSiteTreeState
|
|||||||
$publishDate = $record->dbObject('PublishDate');
|
$publishDate = $record->dbObject('PublishDate');
|
||||||
|
|
||||||
if (strtotime($record->PublishDate) > time()) {
|
if (strtotime($record->PublishDate) > time()) {
|
||||||
return '<i class="font-icon-back-in-time mr-2"></i> ' . _t(
|
return '<i class="font-icon-clock mr-2"></i> ' . _t(
|
||||||
__CLASS__ . '.Timer',
|
__CLASS__ . '.Timer',
|
||||||
'Publish at {date}',
|
'Publish at {date}',
|
||||||
'State for when a post is published.',
|
'State for when a post is published.',
|
||||||
|
Loading…
Reference in New Issue
Block a user