-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d805eb6
commit 844ed8c
Showing
19 changed files
with
169 additions
and
449 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 20 additions & 0 deletions
20
peachjam/migrations/0091_peachjamsettings_mailchimp_form_url.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# Generated by Django 3.2.16 on 2023-07-20 09:04 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("peachjam", "0090_alter_citationlink_url"), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name="peachjamsettings", | ||
name="mailchimp_form_url", | ||
field=models.URLField( | ||
blank=True, null=True, verbose_name="mailchimp form url" | ||
), | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
{% load i18n %} | ||
<h5 class="mb-2"> | ||
{% block newsletter-title %} | ||
{% trans 'Subscribe' %} | ||
{% endblock %} | ||
</h5> | ||
<div class="row"> | ||
<div class="col-12 col-md-6 mb-3"> | ||
<p class="lead mb-0"> | ||
{% block newsletter-blurb %} | ||
{% trans 'Subscribe to our newsletter for updates and news.' %} | ||
{% endblock %} | ||
</p> | ||
</div> | ||
<div class="col-12 col-md-6 mb-3"> | ||
{% block newsletter-form-code %} | ||
<form action="{{ PEACHJAM_SETTINGS.mailchimp_form_url }}" | ||
method="post" | ||
name="mc-embedded-subscribe-form" | ||
target="_blank"> | ||
<div style="position: absolute; left: -5000px;" aria-hidden="true"> | ||
<!-- real people should not fill this in and expect good things - do not remove this or risk form bot signups--> | ||
<input type="text" | ||
name="b_4f4bdccc4d82422fd556af74f_da4493f83c" | ||
tabindex="-1" | ||
value=""/> | ||
</div> | ||
<div class="input-group"> | ||
<input type="email" | ||
value="" | ||
name="EMAIL" | ||
class="form-control" | ||
placeholder="email address" | ||
required=""/> | ||
<input type="submit" | ||
value="Subscribe" | ||
name="subscribe" | ||
class="btn btn-secondary"/> | ||
</div> | ||
</form> | ||
{% endblock %} | ||
</div> | ||
</div> |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.