Skip to content

Commit

Permalink
Move edit button into correct position
Browse files Browse the repository at this point in the history
  • Loading branch information
bencroker committed Mar 3, 2025
1 parent 1f0fc39 commit a57aa5b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
# Release Notes for Campaign

## 3.5.10 - Unreleased
## 3.5.10 - 2025-03-03

### Changed

- Changed the use of the deprecated `|ucfirst` filter to `|capitalize` in all Twig templates.
- Moved the “Edit” button into the correct position on campaign report pages.

## 3.5.9 - 2024-12-31

Expand Down
5 changes: 2 additions & 3 deletions src/templates/reports/campaigns/_view.twig
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,11 @@
] %}


{% block pageTitle %}
{{ parent() }}
{% set additionalButtons %}
{% if campaign.canSave(currentUser) %}
<a href="{{ campaign.cpEditUrl }}" class="btn">{{ 'Edit'|t('campaign') }}</a>
{% endif %}
{% endblock %}
{% endset %}


{% block content %}
Expand Down

0 comments on commit a57aa5b

Please sign in to comment.