Skip to content

Commit

Permalink
Merge pull request #109 from hybridinteractive/develop
Browse files Browse the repository at this point in the history
Prepping 1.2.4 release
  • Loading branch information
DynamiteGoesBoom authored Oct 23, 2020
2 parents 608154c + 16de0f8 commit 0f01b8d
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 9 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/).

## [1.2.4] - 2020-10-23
- Fixed a bug that was causing `lightSwitch` fields to be out of sync [#87](https://github.com/hybridinteractive/craft-contact-form-extensions/issues/87)

## [1.2.3] - 2020-10-23
- Added `Subject` to Submissions Detail page.

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "hybridinteractive/craft-contact-form-extensions",
"description": "Adds extensions to the Craft CMS contact form plugin.",
"type": "craft-plugin",
"version": "1.2.3",
"version": "1.2.4",
"keywords": [
"craft",
"cms",
Expand Down
14 changes: 6 additions & 8 deletions src/templates/settings.twig
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@
name: 'enableDatabase',
disabled: 'enableDatabase' in overrides,
warning: 'enableDatabase' in overrides ? configWarning('enableDatabase'),
on: settings.enableDatabase == true })
}}
on: settings.enableDatabase == true
}) }}

{{ forms.lightswitchField({
label: 'Send confirmation email',
Expand All @@ -43,11 +43,11 @@
name: 'enableConfirmationEmail',
disabled: 'enableConfirmationEmail' in overrides,
warning: 'enableConfirmationEmail' in overrides ? configWarning('enableConfirmationEmail'),
on: settings.enableConfirmationEmail == true,
on: settings.enableConfirmationEmail,
toggle: "confirmationTemplate"
}) }}

<div id="confirmationTemplate" style="margin-bottom: 20px;">
<div id="confirmationTemplate" class="hidden" style="margin-bottom: 20px;">
{{ forms.textField({
label: 'Set the template for the confirmation email',
instructions: 'The template will receive a `submission` variable',
Expand Down Expand Up @@ -76,11 +76,11 @@
name: 'enableTemplateOverwrite',
disabled: 'enableTemplateOverwrite' in overrides,
warning: 'enableTemplateOverwrite' in overrides ? configWarning('enableTemplateOverwrite'),
on: settings.enableTemplateOverwrite == true,
on: settings.enableTemplateOverwrite,
toggle: "templateSettings"
}) }}

<div id="templateSettings">
<div id="templateSettings" class="hidden">
{{ forms.textField({
label: 'Set a template for the notification email',
instructions: 'The template will receive a `submission` variable',
Expand Down Expand Up @@ -206,5 +206,3 @@
</div>
</div>
</div>


0 comments on commit 0f01b8d

Please sign in to comment.