From 35ed35fdb3db282eb8c602e4fe6e27220bb38883 Mon Sep 17 00:00:00 2001 From: bencroker Date: Mon, 9 Dec 2024 07:44:56 -0600 Subject: [PATCH] Fix pending status colour --- CHANGELOG.md | 6 ++++++ composer.json | 2 +- src/elements/SendoutElement.php | 1 + 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9459b3ba..cf13d7e6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Release Notes for Campaign +## 3.5.8 - 2024-12-09 + +### Fixed + +- Fixed a bug in which pending sendouts did not have a status colour assigned ([#507](https://github.com/putyourlightson/craft-campaign/issues/507)). + ## 3.5.7 - 2024-11-29 ### Fixed diff --git a/composer.json b/composer.json index f11efa27..85868896 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.7", + "version": "3.5.8", "type": "craft-plugin", "homepage": "https://putyourlightson.com/plugins/campaign", "license": "proprietary", diff --git a/src/elements/SendoutElement.php b/src/elements/SendoutElement.php index 5fff6e9c..69b93bc9 100755 --- a/src/elements/SendoutElement.php +++ b/src/elements/SendoutElement.php @@ -219,6 +219,7 @@ public static function statuses(): array ], self::STATUS_PENDING => [ 'label' => Craft::t('campaign', 'Pending'), + 'color' => Color::Orange, ], self::STATUS_PAUSED => [ 'label' => Craft::t('campaign', 'Paused'),