remove saturday summit modal

pull/878/head
Quincy Larson 2015-06-06 10:17:49 -07:00
parent a0dcf77a14
commit ef504339cc
1 changed files with 19 additions and 19 deletions

View File

@ -83,22 +83,22 @@ block content
li.large-p.negative-10 li.large-p.negative-10
a(href="/challenges/#{challenge.name}")= challenge.name a(href="/challenges/#{challenge.name}")= challenge.name
#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. // h3.text-left Saturday at Noon EDT: We'll live-stream our Saturday Summit on Twitch.tv.
h3.text-left We'll announce our new Front End Development Certificate Program (it's free, of course) and our new "Free Code Camp On The Go" app.   // h3.text-left We'll announce our new Front End Development Certificate Program (it's free, of course) and our new "Free Code Camp On The Go" app.  
a(href='http://www.freecodecamp.com/twitch', target='_blank') Add us to your calendar here // a(href='http://www.freecodecamp.com/twitch', target='_blank') Add us 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.day234) { // if (!localStorage || !localStorage.day234) {
$('#announcementModal').modal('show'); // $('#announcementModal').modal('show');
localStorage.day234 = "true"; // localStorage.day234 = "true";
} // }
}); // });