Skip to content

Commit

Permalink
Fix campaign status label
Browse files Browse the repository at this point in the history
  • Loading branch information
bencroker committed Oct 13, 2024
1 parent 25425d5 commit ef6d3ea
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Release Notes for Campaign

## 3.5.6 - Unreleased

### Fixed

- Fixed the campaign status label on sendout preview pages.

## 3.5.5 - 2024-10-08

### Fixed
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "putyourlightson/craft-campaign",
"description": "Send and manage email campaigns, contacts and mailing lists.",
"version": "3.5.5",
"version": "3.5.6",
"type": "craft-plugin",
"homepage": "https://putyourlightson.com/plugins/campaign",
"license": "proprietary",
Expand Down
2 changes: 1 addition & 1 deletion src/templates/sendouts/_includes/fields.twig
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
}) }}
{% else %}
{% if sendout.campaign %}
{% set status = sendout.campaign.statuses[sendout.status] %}
{% set status = sendout.campaign.statuses[sendout.campaign.status] %}
<span class="status {{ status.color.value }}"></span>
<a href="{{ sendout.campaign.cpEditUrl }}" class="go" target="_blank">{{ sendout.campaign.title }}</a>
{% else %}
Expand Down

0 comments on commit ef6d3ea

Please sign in to comment.