From 0799bc92eca92fa6cee1208ab1aed74cb19843d5 Mon Sep 17 00:00:00 2001 From: Luke Fromhold Date: Mon, 13 May 2019 18:33:28 +1000 Subject: [PATCH] Add website icon and implement for multisites module Site class --- _config/config.yml | 11 +++++++++-- client/icons/website.svg | 1 + 2 files changed, 10 insertions(+), 2 deletions(-) create mode 100644 client/icons/website.svg diff --git a/_config/config.yml b/_config/config.yml index a983b50..10410ec 100644 --- a/_config/config.yml +++ b/_config/config.yml @@ -15,7 +15,14 @@ SilverStripe\CMS\Model\VirtualPage: --- Only: - classexists: 'SilverStripe\UserForms\Model\UserDefinedForm' + moduleexists: 'silverstripe/userforms' --- SilverStripe\UserForms\Model\UserDefinedForm: - icon: 'fromholdio/silverstripe-page-icons: client/icons/form.svg' \ No newline at end of file + icon: 'fromholdio/silverstripe-page-icons: client/icons/form.svg' + +--- +Only: + moduleexists: 'symbiote/silverstripe-multisites' +--- +Symbiote\Multisites\Model\Site: + icon: 'fromholdio/silverstripe-page-icons: client/icons/website.svg' \ No newline at end of file diff --git a/client/icons/website.svg b/client/icons/website.svg new file mode 100644 index 0000000..39f3845 --- /dev/null +++ b/client/icons/website.svg @@ -0,0 +1 @@ + \ No newline at end of file