Skip to content

Commit

Permalink
Fix sendout status label
Browse files Browse the repository at this point in the history
  • Loading branch information
bencroker committed Oct 4, 2024
1 parent f1ef7a8 commit e4ee099
Show file tree
Hide file tree
Showing 3 changed files with 9 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.2 - Unreleased

### Fixed

- Fixed the sendout status label on sendout edit and preview pages.

## 3.5.1 - 2024-09-30

### Changed
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.1",
"version": "3.5.2",
"type": "craft-plugin",
"homepage": "https://putyourlightson.com/plugins/campaign",
"license": "proprietary",
Expand Down
3 changes: 2 additions & 1 deletion src/templates/sendouts/_preview.twig
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,8 @@
<h5 class="heading">{{ 'Status'|t('app') }}</h5>
<div class="value flex">
<div class="flex-grow">
<span class="status {{ sendout.status }}"></span> {{ sendout.statuses[sendout.status] }}
<span class="status {{ sendout.status }}"></span>
{{ sendout.statuses[sendout.status].label ?? '' }}
</div>
{% include 'campaign/_includes/actions' %}
</div>
Expand Down

0 comments on commit e4ee099

Please sign in to comment.