mirror of
https://github.com/silverstripe/silverstripe-blog
synced 2024-10-22 11:05:58 +02:00
NEW Add font-icon for site tree blog holder and posts
This commit is contained in:
parent
dd8e401dbf
commit
765b315fe7
@ -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}
|
||||
@ -371,7 +371,7 @@ class Blog extends Page implements PermissionProvider
|
||||
->setDescription(
|
||||
_t(
|
||||
__CLASS__ . '.UsersEditorsFieldDescription',
|
||||
'An editor has control over specific Blogs, and all posts included within it.
|
||||
'An editor has control over specific Blogs, and all posts included within it.
|
||||
Short of being able to assign other editors to a blog, they are able to handle most changes to
|
||||
their assigned blog. <br /><br />
|
||||
Editors have these permissions:<br />
|
||||
@ -397,7 +397,7 @@ class Blog extends Page implements PermissionProvider
|
||||
Writers have these permissions:<br />
|
||||
<br />
|
||||
Update or publish any BlogPost they have authored or have been assigned to<br />
|
||||
Assign/unassign any member as an author of a particular BlogPost they have authored or have been
|
||||
Assign/unassign any member as an author of a particular BlogPost they have authored or have been
|
||||
assigned to'
|
||||
)
|
||||
);
|
||||
@ -412,7 +412,7 @@ class Blog extends Page implements PermissionProvider
|
||||
->setDescription(
|
||||
_t(
|
||||
__CLASS__ . '.UsersContributorsFieldDescription',
|
||||
'Contributors have the ability to create or edit BlogPosts, but are unable to publish without
|
||||
'Contributors have the ability to create or edit BlogPosts, but are unable to publish without
|
||||
authorisation of an editor. They are also unable to assign other contributing authors to any of
|
||||
their BlogPosts.<br />
|
||||
<br />
|
||||
|
@ -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
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user