Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add invites/signups to Slack, PiratNyt etc to post-signup page #575

Closed
Closed
Changes from 2 commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
e481d17
Added embeeded PiratNyt signup form to user_created page
JondareHM Jul 28, 2020
6ce92d2
Playing around with the look of the embed form
JondareHM Jul 28, 2020
e77aec1
Merge branch 'master' into volunteer_invites_page
JondareHM Aug 3, 2020
6b76027
cleaned up the embed code a little to make it more readable, will sta…
JondareHM Aug 3, 2020
6b78180
Added Slack invite and Facebook link, made the page tabbed, and style…
JondareHM Aug 5, 2020
163c188
Made the Social page, and added Sentry tracking to the fontend.
JondareHM Aug 10, 2020
0121016
Merge branch 'master' into volunteer_invites_page
JondareHM Aug 10, 2020
8e4908b
attempts to make fetch happen
JondareHM Aug 10, 2020
ff3e533
Still trying to make fetch happen
JondareHM Aug 11, 2020
1c5f222
Merge branch 'master' into volunteer_invites_page
JondareHM Aug 11, 2020
e362a52
Made the /social page login only, and made it possible to filter what…
JondareHM Aug 11, 2020
436d567
Merge branch 'volunteer_invites_page' of https://github.com/JondareHM…
JondareHM Aug 11, 2020
369cc47
Merge branch 'master' into volunteer_invites_page
JondareHM Sep 7, 2020
38fe4a7
fixed test
JondareHM Sep 7, 2020
151710c
Merge branch 'volunteer_invites_page' of https://github.com/JondareHM…
JondareHM Sep 7, 2020
9f9c13b
Merge branch 'master' into volunteer_invites_page
JondareHM Oct 13, 2020
d304baf
Fixed test
JondareHM Oct 20, 2020
5775ba1
trying to make fetch happen
JondareHM Oct 20, 2020
8a90bd3
Merge branch 'master' into volunteer_invites_page
JondareHM Nov 30, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 44 additions & 2 deletions members/templates/members/user_created.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,50 @@ <h1>&nbsp;</h1>
<div class="jumbotron">
<h1>Brugeren er oprettet!</h1>
<p>Vi har oprettet en bruger til dig. Du logger ind ved hjælp af din e-mail-adresse samt adgangskode.</p>
<p><i>Adgangskoden er {{ password }}</i></p>
<p>Hvis du klikker væk fra denne side, kan du kun få koden igen ved nulstilning.</p>
<!-- Begin Mailchimp Signup Form -->
<link href="//cdn-images.mailchimp.com/embedcode/classic-10_7.css" rel="stylesheet" type="text/css">
<style type="text/css">
#mc_embed_signup{background:#fff; clear:left; font:14px Helvetica,Arial,sans-serif; }
/* Add your own Mailchimp form style overrides in your site stylesheet or in this style block.
We recommend moving this block and the preceding CSS link to the HEAD of your HTML file. */
</style>
<style type="text/css">
#mc-embedded-subscribe-form input[type=checkbox]{display: inline; width: auto;margin-right: 10px;}
#mergeRow-gdpr {margin-top: 20px;}
#mergeRow-gdpr fieldset label {font-weight: normal;}
#mc-embedded-subscribe-form .mc_fieldset{border:none;min-height: 0px;padding-bottom:0px;}
</style>
<div id="mc_embed_signup">
<form action="https://codingpirates.us11.list-manage.com/subscribe/post?u=55ca261a7dd7f512770953b3a&amp;id=1c46da61ea" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate" target="_blank" novalidate>
<div id="mc_embed_signup_scroll">
<h2>PiratNyt</h2>
<div class="indicates-required"><span class="asterisk">*</span> indicates required</div>
<div class="mc-field-group">
<label for="mce-EMAIL">Email-adresse <span class="asterisk">*</span>
</label>
<input type="email" value="" name="EMAIL" class="required email" id="mce-EMAIL">
</div>
<div id="mergeRow-gdpr" class="mergeRow gdpr-mergeRow content__gdprBlock mc-field-group">
<div class="content__gdpr">
<fieldset class="mc_fieldset gdprRequired mc-field-group" name="interestgroup_field">
<label class="checkbox subfield" for="gdpr_7613"><input type="checkbox" id="gdpr_7613" name="gdpr[7613]" value="Y" class="av-checkbox gdpr"><span>PiratNyt</span> </label>
</fieldset>
<div class="content__gdprLegal">
<p>Hvis du fortryder, kan du afmelde dig igen ved at klikke på linket i bunden af hver mail fra os, eller du kan kontakte os på [email protected]. Vi respekterer dit privatliv. Ved at klikke nedenfor accepterer du, at vi deler dine data med Mailchimp så vi kan sende dig PiratNyt. <a href="https://mailchimp.com/legal/" target="_blank">Du kan læse mere om Mailchimps privatlivs politikker her.</a></p>
</div>
</div>
</div>
<div id="mce-responses" class="clear">
<div class="response" id="mce-error-response" style="display:none"></div>
<div class="response" id="mce-success-response" style="display:none"></div>
</div> <!-- real people should not fill this in and expect good things - do not remove this or risk form bot signups-->
<div style="position: absolute; left: -5000px;" aria-hidden="true"><input type="text" name="b_55ca261a7dd7f512770953b3a_1c46da61ea" tabindex="-1" value=""></div>
<div class="clear"><input type="submit" value="Subscribe" name="subscribe" id="mc-embedded-subscribe" class="button"></div>
</div>
</form>
</div>
<script type='text/javascript' src='//s3.amazonaws.com/downloads.mailchimp.com/js/mc-validate.js'></script><script type='text/javascript'>(function($) {window.fnames = new Array(); window.ftypes = new Array();fnames[0]='EMAIL';ftypes[0]='email';fnames[1]='FNAME';ftypes[1]='text';fnames[2]='LNAME';ftypes[2]='text';}(jQuery));var $mcj = jQuery.noConflict(true);</script>
<!--End mc_embed_signup-->
<a class="btn btn-primary" href="{% url 'person_login' %}">Gå til log ind →</a>
</div>
{% endblock %}