Skip to content

Commit

Permalink
Fix 4.4 Icons
Browse files Browse the repository at this point in the history
  • Loading branch information
purplespider committed Aug 14, 2019
1 parent 11eadbd commit 7323ea0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
1 change: 0 additions & 1 deletion src/Model/NewsArticle.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ class NewsArticle extends Page
private static $description = 'An individual news item displayed on a News holder page';
private static $singular_name = 'News Article';
private static $plural_name = 'News Articles';
private static $icon = "purplespider/basic-news:client/dist/images/newspaper-file.gif";
private static $icon_class = 'font-icon-p-news-item';
private static $allowed_children = array();
private static $can_be_root = false;
Expand Down
5 changes: 1 addition & 4 deletions src/Model/NewsHolder.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,6 @@ class NewsHolder extends Page
"DisplayFullPosts" => "Boolean"
);

private static $icon_class = 'font-icon-news';


public function getCMSFields()
{

Expand Down Expand Up @@ -59,7 +56,7 @@ public function getLumberjackPagesForGridfield($excluded = array())

// Only allows certain children to be created
private static $allowed_children = array(NewsArticle::class);
private static $icon = "purplespider/basic-news:client/dist/images/newspaper-page-file.gif";
private static $icon_class = 'font-icon-news';
private static $table_name = "NewsHolder";
private static $description = 'Displays multiple News Articles';

Expand Down

0 comments on commit 7323ea0

Please sign in to comment.