mirror of
https://github.com/flarum/core.git
synced 2025-08-24 00:53:27 +02:00
FontAwesome v5.0.6 (#1372)
* Update FontAwesome to v5.0.6 * Adapt DiscussionListItem-count icon to match FontAwesome 5 syntax * Change icon name to match FontAwesome 5.0.6 fas icon * Add font type prefix parameter to icon helper * Add Enable Icon Prefix to show icon in Extension Page * Fix invalid icon behavior * Change icon name to match FontAwesome 5.0.6 far icon * Use iconPrefix property on component * Use full icon class name * Update icon helper docblock * Full icon class syntax
This commit is contained in:
@@ -287,10 +287,10 @@ class InstallCommand extends AbstractCommand
|
||||
Group::unguard();
|
||||
|
||||
$groups = [
|
||||
[Group::ADMINISTRATOR_ID, 'Admin', 'Admins', '#B72A2A', 'wrench'],
|
||||
[Group::ADMINISTRATOR_ID, 'Admin', 'Admins', '#B72A2A', 'fa fa-wrench'],
|
||||
[Group::GUEST_ID, 'Guest', 'Guests', null, null],
|
||||
[Group::MEMBER_ID, 'Member', 'Members', null, null],
|
||||
[Group::MODERATOR_ID, 'Mod', 'Mods', '#80349E', 'bolt']
|
||||
[Group::MODERATOR_ID, 'Mod', 'Mods', '#80349E', 'fa fa-bolt']
|
||||
];
|
||||
|
||||
foreach ($groups as $group) {
|
||||
@@ -386,7 +386,7 @@ class InstallCommand extends AbstractCommand
|
||||
protected function publishAssets()
|
||||
{
|
||||
$this->filesystem->copyDirectory(
|
||||
$this->application->basePath().'/vendor/components/font-awesome/fonts',
|
||||
$this->application->basePath().'/vendor/components/font-awesome/webfonts',
|
||||
$this->application->publicPath().'/assets/fonts'
|
||||
);
|
||||
}
|
||||
|
Reference in New Issue
Block a user