comment out modal explaining that gitter is slow

This commit is contained in:
Quincy Larson
2015-07-10 21:11:24 -07:00
parent 9864b762e7
commit 65e5a715a6

View File

@ -83,20 +83,20 @@ 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 Our chat is slow right now // .modal-header.challenge-list-header Our chat is slow right now
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 Please note that Gitter.im, our chat client, is really slow right now. // h3.text-left Please note that Gitter.im, our chat client, is really slow right now.
h3.text-left Gitter is working to fix this ASAP. If you can't join our chat room, please try again later. // h3.text-left Gitter is working to fix this ASAP. If you can't join our chat room, please try again later.
h3.text-left Thank you for your patience. In the meantime, happy coding! // h3.text-left Thank you for your patience. In the meantime, happy coding!
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.gitter) { // if (!localStorage || !localStorage.gitter) {
$('#announcementModal').modal('show'); // $('#announcementModal').modal('show');
localStorage.gitter = "true"; // localStorage.gitter = "true";
} // }
}); // });