remove Saturday Summit announcement modal

This commit is contained in:
Quincy Larson
2015-05-02 18:52:15 -07:00
parent b269ca08a0
commit ca189c5d71

View File

@ -110,21 +110,21 @@ block content
a(href="/nonprofits/directory") Browse our nonprofit projects a(href="/nonprofits/directory") Browse our nonprofit projects
p * Complete all Waypoints, Bonfires, Ziplines and Basejumps to be assigned your first nonprofit project p * Complete all Waypoints, Bonfires, Ziplines and Basejumps to be assigned your first nonprofit project
#announcementModal.modal(tabindex='-1') //#announcementModal.modal(tabindex='-1')
.modal-dialog.animated.fadeInUp.fast-animation // .modal-dialog.animated.fadeInUp.fast-animation
.modal-content // .modal-content
.modal-header.challenge-list-header Join our Saturday Summit! // .modal-header.challenge-list-header Join our Saturday Summit!
a.close.closing-x(href='#', data-dismiss='modal', aria-hidden='true') × // a.close.closing-x(href='#', data-dismiss='modal', aria-hidden='true') ×
.modal-body // .modal-body
h3.text-left Saturday at Noon EDT: We'll live-stream our Saturday Summit on Twitch.tv. Join us as our community turns 200 days old. We'll have Nonprofit Project demos from 6 of our campers.   // h3.text-left Saturday at Noon EDT: We'll live-stream our Saturday Summit on Twitch.tv. Join us as our community turns 200 days old. We'll have Nonprofit Project demos from 6 of our campers.  
a(href='http://www.freecodecamp.com/twitch', target='_blank') Add it to your calendar here // a(href='http://www.freecodecamp.com/twitch', target='_blank') Add it to your calendar here
| . // | .
a.btn.btn-lg.btn-info.btn-block(name='_csrf', value=_csrf, aria-hidden='true', href='http://twitch.tv/freecodecamp', target='_blank') Follow us on Twitch.tv // a.btn.btn-lg.btn-info.btn-block(name='_csrf', value=_csrf, aria-hidden='true', href='http://twitch.tv/freecodecamp', target='_blank') Follow us on Twitch.tv
a.btn.btn-lg.btn-primary.btn-block(href='#', data-dismiss='modal', aria-hidden='true') Thanks for the heads-up! // a.btn.btn-lg.btn-primary.btn-block(href='#', data-dismiss='modal', aria-hidden='true') Thanks for the heads-up!
script. //script.
$(document).ready(function () { // $(document).ready(function () {
if (!localStorage || !localStorage.day200) { // if (!localStorage || !localStorage.day200) {
$('#announcementModal').modal('show'); // $('#announcementModal').modal('show');
localStorage.day200 = "true"; // localStorage.day200 = "true";
} // }
}); // });