mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-02-25 14:04:54 -05:00
Contributor emails now indicate saved.
This commit is contained in:
parent
ec20cac6f7
commit
f1186f6092
3 changed files with 13 additions and 5 deletions
|
@ -38,3 +38,7 @@
|
||||||
|
|
||||||
.well
|
.well
|
||||||
padding: 5px 5px 5px 30px
|
padding: 5px 5px 5px 30px
|
||||||
|
|
||||||
|
.saved-notification
|
||||||
|
display: none
|
||||||
|
float: right
|
||||||
|
|
|
@ -40,8 +40,7 @@ block content
|
||||||
li Artisans - Sootn, Aftermath, mcdavid1991
|
li Artisans - Sootn, Aftermath, mcdavid1991
|
||||||
li Scribes - Ryan Faidley
|
li Scribes - Ryan Faidley
|
||||||
li Adventurers - Kieizroe, (...)
|
li Adventurers - Kieizroe, (...)
|
||||||
li Archmages - David Golds, Zach Martin
|
li Archmages - David Golds, Zach Martin, Tom Steinbrecher, Mischa Lewis-Norelle, Sébastien Moratinos
|
||||||
|
|
||||||
|
|
||||||
div#contribute-main
|
div#contribute-main
|
||||||
div#intro
|
div#intro
|
||||||
|
@ -64,7 +63,7 @@ block content
|
||||||
| , and we aim to provide as many ways as possible for you to take part and
|
| , and we aim to provide as many ways as possible for you to take part and
|
||||||
| make this project as much yours as ours.
|
| make this project as much yours as ours.
|
||||||
p We hope you'll join our party!
|
p We hope you'll join our party!
|
||||||
p.signature - Nick, George and Scott
|
p.signature - Nick, George, Scott, Michael, and Jeremy
|
||||||
hr
|
hr
|
||||||
|
|
||||||
if me.attributes.anonymous
|
if me.attributes.anonymous
|
||||||
|
@ -74,8 +73,6 @@ block content
|
||||||
a(data-toggle="coco-modal", data-target="modal/signup") create an account
|
a(data-toggle="coco-modal", data-target="modal/signup") create an account
|
||||||
| first .
|
| first .
|
||||||
|
|
||||||
h3 Changes are saved automatically when you toggle checkboxes.
|
|
||||||
|
|
||||||
#archmage
|
#archmage
|
||||||
.class_image
|
.class_image
|
||||||
img(src="/images/pages/contribute/archmage.png", alt="")
|
img(src="/images/pages/contribute/archmage.png", alt="")
|
||||||
|
@ -113,6 +110,7 @@ block content
|
||||||
label.checkbox(for="developer").well
|
label.checkbox(for="developer").well
|
||||||
input(type='checkbox', name="developer", id="developer")
|
input(type='checkbox', name="developer", id="developer")
|
||||||
| Get emails on new coding opportunities and announcements.
|
| Get emails on new coding opportunities and announcements.
|
||||||
|
.saved-notification ✓ Saved
|
||||||
|
|
||||||
|
|
||||||
#artisan
|
#artisan
|
||||||
|
@ -150,6 +148,7 @@ block content
|
||||||
label.checkbox(for="level_creator").well
|
label.checkbox(for="level_creator").well
|
||||||
input(type='checkbox', name="level_creator", id="level_creator")
|
input(type='checkbox', name="level_creator", id="level_creator")
|
||||||
| Get emails on level editor updates and announcements.
|
| Get emails on level editor updates and announcements.
|
||||||
|
.saved-notification ✓ Saved
|
||||||
|
|
||||||
|
|
||||||
#adventurer
|
#adventurer
|
||||||
|
@ -189,6 +188,7 @@ block content
|
||||||
label.checkbox(for="tester").well
|
label.checkbox(for="tester").well
|
||||||
input(type='checkbox', name="tester", id="tester")
|
input(type='checkbox', name="tester", id="tester")
|
||||||
| Get emails when there are new levels to test.
|
| Get emails when there are new levels to test.
|
||||||
|
.saved-notification ✓ Saved
|
||||||
|
|
||||||
|
|
||||||
#scribe
|
#scribe
|
||||||
|
@ -220,6 +220,7 @@ block content
|
||||||
label.checkbox(for="article_editor").well
|
label.checkbox(for="article_editor").well
|
||||||
input(type='checkbox', name="article_editor", id="article_editor")
|
input(type='checkbox', name="article_editor", id="article_editor")
|
||||||
| Get emails about article writing announcements.
|
| Get emails about article writing announcements.
|
||||||
|
.saved-notification ✓ Saved
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -252,6 +253,7 @@ block content
|
||||||
label.checkbox(for="translator").well
|
label.checkbox(for="translator").well
|
||||||
input(type='checkbox', name="translator", id="translator")
|
input(type='checkbox', name="translator", id="translator")
|
||||||
| Get emails about i18n developments and levels to translate.
|
| Get emails about i18n developments and levels to translate.
|
||||||
|
.saved-notification ✓ Saved
|
||||||
|
|
||||||
|
|
||||||
#ambassador
|
#ambassador
|
||||||
|
@ -287,6 +289,7 @@ block content
|
||||||
label.checkbox(for="support").well
|
label.checkbox(for="support").well
|
||||||
input(type='checkbox', name="support", id="support")
|
input(type='checkbox', name="support", id="support")
|
||||||
| Get emails on support updates and multiplayer developments.
|
| Get emails on support updates and multiplayer developments.
|
||||||
|
.saved-notification ✓ Saved
|
||||||
|
|
||||||
|
|
||||||
#counselor
|
#counselor
|
||||||
|
|
|
@ -29,6 +29,7 @@ module.exports = class ContributeView extends View
|
||||||
@openModalView new SignupModalView()
|
@openModalView new SignupModalView()
|
||||||
if not checked
|
if not checked
|
||||||
subscriptions = _.without subscriptions, subscription
|
subscriptions = _.without subscriptions, subscription
|
||||||
|
el.parent().find('.saved-notification').finish().show('fast').delay(3000).fadeOut(2000)
|
||||||
|
|
||||||
me.set('emailSubscriptions', subscriptions)
|
me.set('emailSubscriptions', subscriptions)
|
||||||
me.save()
|
me.save()
|
||||||
|
|
Loading…
Reference in a new issue