mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-27 09:35:39 -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
|
||||
padding: 5px 5px 5px 30px
|
||||
|
||||
.saved-notification
|
||||
display: none
|
||||
float: right
|
||||
|
|
|
@ -40,8 +40,7 @@ block content
|
|||
li Artisans - Sootn, Aftermath, mcdavid1991
|
||||
li Scribes - Ryan Faidley
|
||||
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#intro
|
||||
|
@ -64,7 +63,7 @@ block content
|
|||
| , and we aim to provide as many ways as possible for you to take part and
|
||||
| make this project as much yours as ours.
|
||||
p We hope you'll join our party!
|
||||
p.signature - Nick, George and Scott
|
||||
p.signature - Nick, George, Scott, Michael, and Jeremy
|
||||
hr
|
||||
|
||||
if me.attributes.anonymous
|
||||
|
@ -74,8 +73,6 @@ block content
|
|||
a(data-toggle="coco-modal", data-target="modal/signup") create an account
|
||||
| first .
|
||||
|
||||
h3 Changes are saved automatically when you toggle checkboxes.
|
||||
|
||||
#archmage
|
||||
.class_image
|
||||
img(src="/images/pages/contribute/archmage.png", alt="")
|
||||
|
@ -113,6 +110,7 @@ block content
|
|||
label.checkbox(for="developer").well
|
||||
input(type='checkbox', name="developer", id="developer")
|
||||
| Get emails on new coding opportunities and announcements.
|
||||
.saved-notification ✓ Saved
|
||||
|
||||
|
||||
#artisan
|
||||
|
@ -150,6 +148,7 @@ block content
|
|||
label.checkbox(for="level_creator").well
|
||||
input(type='checkbox', name="level_creator", id="level_creator")
|
||||
| Get emails on level editor updates and announcements.
|
||||
.saved-notification ✓ Saved
|
||||
|
||||
|
||||
#adventurer
|
||||
|
@ -189,6 +188,7 @@ block content
|
|||
label.checkbox(for="tester").well
|
||||
input(type='checkbox', name="tester", id="tester")
|
||||
| Get emails when there are new levels to test.
|
||||
.saved-notification ✓ Saved
|
||||
|
||||
|
||||
#scribe
|
||||
|
@ -220,6 +220,7 @@ block content
|
|||
label.checkbox(for="article_editor").well
|
||||
input(type='checkbox', name="article_editor", id="article_editor")
|
||||
| Get emails about article writing announcements.
|
||||
.saved-notification ✓ Saved
|
||||
|
||||
|
||||
|
||||
|
@ -252,6 +253,7 @@ block content
|
|||
label.checkbox(for="translator").well
|
||||
input(type='checkbox', name="translator", id="translator")
|
||||
| Get emails about i18n developments and levels to translate.
|
||||
.saved-notification ✓ Saved
|
||||
|
||||
|
||||
#ambassador
|
||||
|
@ -287,6 +289,7 @@ block content
|
|||
label.checkbox(for="support").well
|
||||
input(type='checkbox', name="support", id="support")
|
||||
| Get emails on support updates and multiplayer developments.
|
||||
.saved-notification ✓ Saved
|
||||
|
||||
|
||||
#counselor
|
||||
|
|
|
@ -29,6 +29,7 @@ module.exports = class ContributeView extends View
|
|||
@openModalView new SignupModalView()
|
||||
if not checked
|
||||
subscriptions = _.without subscriptions, subscription
|
||||
el.parent().find('.saved-notification').finish().show('fast').delay(3000).fadeOut(2000)
|
||||
|
||||
me.set('emailSubscriptions', subscriptions)
|
||||
me.save()
|
||||
|
|
Loading…
Reference in a new issue