From ef27fda537fdaa0bd331d542e78fff6b9a354f71 Mon Sep 17 00:00:00 2001 From: Michael Q Larson Date: Sat, 28 Mar 2015 10:14:49 -0700 Subject: [PATCH] remove references to meeting from announcements and notification modal --- controllers/resources.json | 1 - views/resources/learn-to-code.jade | 36 +++++++++++++++--------------- 2 files changed, 18 insertions(+), 19 deletions(-) diff --git a/controllers/resources.json b/controllers/resources.json index 47eb9fff75..847f4538a3 100644 --- a/controllers/resources.json +++ b/controllers/resources.json @@ -1,6 +1,5 @@ { "announcements": [ - ["We'll live-stream our Camp-wide Meeting Saturday, March 27 at Noon EST. We'll show some of Free Code Camp's new features, and campers will show what they're building.", "http://twitch.tv/freecodecamp"], ["Some of Code School's courses are no longer free. We're switching to NodeSchool.io for our Node.js and Express.js challenges.", "http://freecodecamp.com/nodeschool-challenges"], ["Screen Hero is now free on Windows and Mac! Follow these special instructions to install it.", "http://freecodecamp.com/install-screenhero"] ], diff --git a/views/resources/learn-to-code.jade b/views/resources/learn-to-code.jade index 4eb8198888..1aaea115b2 100644 --- a/views/resources/learn-to-code.jade +++ b/views/resources/learn-to-code.jade @@ -75,21 +75,21 @@ block content .col-xs-12.col-sm-12.col-md-6 include ../partials/faq - #announcementModal.modal(tabindex='-1') - .modal-dialog - .modal-content - .modal-header.challenge-list-header Camp-wide Meeting on Saturday at Noon EST - a.close.closing-x(href='#', data-dismiss='modal', aria-hidden='true') × - .modal-body - h3.text-left We'll live-stream some of Free Code Camp's new features, and campers will show what they're building. Live Saturday, March 28 at Noon EST on our   - a(href='http://twitch.tv/freecodecamp', target='_blank') Twitch.tv channel - | . - a.btn.btn-lg.btn-info.btn-block(name='_csrf', value=_csrf, aria-hidden='true', href='http://twitch.tv/freecodecamp', target='_blank') Take me to Twitch so I can follow Free Code Camp - a.btn.btn-lg.btn-primary.btn-block(href='#', data-dismiss='modal', aria-hidden='true') Thanks for the heads-up! - script. - $(document).ready(function() { - if (!localStorage || !localStorage.campWideMeeting) { - $('#announcementModal').modal('show'); - localStorage.campWideMeeting = "true"; - } - }); \ No newline at end of file + //#announcementModal.modal(tabindex='-1') + // .modal-dialog + // .modal-content + // .modal-header.challenge-list-header Camp-wide Meeting on Saturday at Noon EST + // a.close.closing-x(href='#', data-dismiss='modal', aria-hidden='true') × + // .modal-body + // h3.text-left We'll live-stream some of Free Code Camp's new features, and campers will show what they're building. Live Saturday, March 28 at Noon EST on our   + // a(href='http://twitch.tv/freecodecamp', target='_blank') Twitch.tv channel + // | . + // a.btn.btn-lg.btn-info.btn-block(name='_csrf', value=_csrf, aria-hidden='true', href='http://twitch.tv/freecodecamp', target='_blank') Take me to Twitch so I can follow Free Code Camp + // a.btn.btn-lg.btn-primary.btn-block(href='#', data-dismiss='modal', aria-hidden='true') Thanks for the heads-up! + //script. + // $(document).ready(function() { + // if (!localStorage || !localStorage.campWideMeeting) { + // $('#announcementModal').modal('show'); + // localStorage.campWideMeeting = "true"; + // } + // }); \ No newline at end of file