From d2d1b8facc0afa5e7354526dd2ead736fac1b1bc Mon Sep 17 00:00:00 2001 From: Seth Call Date: Fri, 16 Oct 2015 16:50:08 -0500 Subject: [PATCH] * anonymous check is correct now, as well as video in landing page --- ruby/lib/jam_ruby/models/user.rb | 2 +- .../JamTrackLandingBottomPage.js.jsx.coffee | 11 +++ .../landing/JamTrackLandingPage.js.jsx.coffee | 2 +- .../landings/individual_jamtrack.css.scss | 16 ++++ .../controllers/api_recordings_controller.rb | 5 +- web/app/controllers/landings_controller.rb | 12 +++ web/spec/features/individual_jamtrack_spec.rb | 81 ++++++++++++------- 7 files changed, 94 insertions(+), 35 deletions(-) diff --git a/ruby/lib/jam_ruby/models/user.rb b/ruby/lib/jam_ruby/models/user.rb index 663f44a9d..c608dc88f 100644 --- a/ruby/lib/jam_ruby/models/user.rb +++ b/ruby/lib/jam_ruby/models/user.rb @@ -298,7 +298,7 @@ module JamRuby end def name - if first_name == 'Anoymous' && last_name == 'Anonymous' + if first_name == 'Anonymous' && last_name == 'Anonymous' 'Anonymous' else "#{first_name} #{last_name}" diff --git a/web/app/assets/javascripts/react-components/landing/JamTrackLandingBottomPage.js.jsx.coffee b/web/app/assets/javascripts/react-components/landing/JamTrackLandingBottomPage.js.jsx.coffee index 832e6d28d..605822869 100644 --- a/web/app/assets/javascripts/react-components/landing/JamTrackLandingBottomPage.js.jsx.coffee +++ b/web/app/assets/javascripts/react-components/landing/JamTrackLandingBottomPage.js.jsx.coffee @@ -32,7 +32,18 @@ context = window

Carl Brown of GuitarLessions365

+
+

Watch A JamTracks Overview Video

+
+
+