diff --git a/CHANGELOG.md b/CHANGELOG.md index 575d68e2..4dafa226 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Release Notes for Campaign +## 3.5.9 - Unreleased + +### Changed + +- Changed the field icons for campaigns, contacts and mailing lists ([#509](https://github.com/putyourlightson/craft-campaign/issues/509)). + ## 3.5.8 - 2024-12-09 ### Fixed diff --git a/composer.json b/composer.json index 85868896..0d0c60e3 100644 --- a/composer.json +++ b/composer.json @@ -1,7 +1,7 @@ { "name": "putyourlightson/craft-campaign", "description": "Send and manage email campaigns, contacts and mailing lists.", - "version": "3.5.8", + "version": "3.5.9", "type": "craft-plugin", "homepage": "https://putyourlightson.com/plugins/campaign", "license": "proprietary", diff --git a/src/fields/CampaignsField.php b/src/fields/CampaignsField.php index 4e8f1cfc..ddb7197b 100644 --- a/src/fields/CampaignsField.php +++ b/src/fields/CampaignsField.php @@ -22,6 +22,14 @@ public static function displayName(): string return Craft::t('campaign', 'Campaign Campaigns'); } + /** + * @inheritdoc + */ + public static function icon(): string + { + return 'file-lines'; + } + /** * @inheritdoc */ diff --git a/src/fields/ContactsField.php b/src/fields/ContactsField.php index cc32ce6e..90f1f788 100644 --- a/src/fields/ContactsField.php +++ b/src/fields/ContactsField.php @@ -22,6 +22,14 @@ public static function displayName(): string return Craft::t('campaign', 'Campaign Contacts'); } + /** + * @inheritdoc + */ + public static function icon(): string + { + return 'users'; + } + /** * @inheritdoc */ diff --git a/src/fields/MailingListsField.php b/src/fields/MailingListsField.php index c758d838..8584dd6a 100644 --- a/src/fields/MailingListsField.php +++ b/src/fields/MailingListsField.php @@ -25,6 +25,14 @@ public static function displayName(): string return Craft::t('campaign', 'Campaign Mailing Lists'); } + /** + * @inheritdoc + */ + public static function icon(): string + { + return 'id-card'; + } + /** * @inheritdoc */