NEW Add font-icon for site tree blog holder and posts

This commit is contained in:
Sacha Judd 2019-01-14 13:25:52 +13:00 committed by Robbie Averill
parent dd8e401dbf
commit 765b315fe7
2 changed files with 9 additions and 4 deletions

View File

@ -132,7 +132,7 @@ class Blog extends Page implements PermissionProvider
*/
private static $description = 'Adds a blog to your website.';
private static $icon = 'silverstripe/blog:client/images/site-tree-icon.png';
private static $icon_class = 'font-icon-p-posts';
/**
* {@inheritdoc}

View File

@ -55,6 +55,11 @@ class BlogPost extends Page
*/
private static $table_name = 'BlogPost';
/**
* @var string
*/
private static $icon_class = 'font-icon-p-post';
/**
* @var array
*/