doctype html html head title = "Gottisnetwork" meta name="viewport" content="width=device-width, initial-scale=0.6" = display_meta_tags = favicon_link_tag 'favicon.ico' = csrf_meta_tags = stylesheet_link_tag "application", :media => 'all' /![if lt IE 9] = javascript_include_tag "lib/html5shiv" = javascript_include_tag 'application', 'https://js.stripe.com/v2/', data: {turbolinks_track: true, turbolinks_eval: false} javascript: Stripe.setPublishableKey('#{Configurations::Stripe.publishable_api_key}'); body id="#{controller.controller_name}_#{controller.action_name}" data-no-transition-cache=true .col-sm-12.no-padding.mb35 = render "layouts/header" - if !logged_in? or current_user.student? or current_user.is_registration_completed? .ichatnew.visible-md.visible-lg #chat-sidebar.col-md-12.no-padding .tutor-chat = render 'chat/members', parent: '#chat-sidebar' .mt35.row class=(logged_in? && current_user.is_registration_completed? ? 'lspace-mini' : 'lspace-off') .main-scroll-area - if current_user != true_user = "You #{true_user.name} are signed in as #{current_user.name}" = link_to "Back to admin", stop_impersonating_admin_user_path(true_user) - if logged_in? and current_user.is_registration_completed? #flash-container = bootstrap_flash /= render "layouts/sub_header" - else #flash-container = bootstrap_flash .col-sm-12.no-padding.mb20.mt-1 class="#{'col-md-12' if logged_in?}" - if logged_in? - if params[:controller] == 'profile' and params[:action] == 'edit' and params['id'] != 'select-type' div class=(logged_in? and current_user.is_registration_completed? ? 'lspace-set' : 'lspace-off') .clearfix - unless next_profile_question == 'complete' - if (params[:controller] == 'dashboard' and params[:action] == 'show') #profile_questions = render template: "profile_questions/edit", locals: {partial_name: next_profile_question} .clearfix - if current_page?(url_for(:controller => '/users', :action => 'index')) = render "page_headers/filter" - elsif current_page?(url_for(:controller => '/profile', :action => 'edit', :id => 'payment')) = render "page_headers/payment_edit" - elsif current_page?(url_for(:controller => '/profile', :action => 'edit', :id => 'my-rate')) = render "page_headers/myrate_edit" - elsif current_page?(url_for(:controller => '/profile', :action => 'edit', :id => 'courses_studying')) = render "page_headers/courses_studying" - elsif current_page?(url_for(:controller => '/profile', :action => 'edit', :id => 'courses-tutoring')) = render "page_headers/courses_tutoring" - elsif current_page?(url_for(:controller => '/dashboard', :action => 'personal_calendar')) = render "page_headers/personal_calendar" - elsif current_page?(url_for(:controller => '/notifications', :action => 'index')) = render "page_headers/notifications" - elsif (current_page?(url_for(:controller => '/conversations', :action => 'show')) rescue false) = render "page_headers/messages" .invisblock .clearfix - if logged_in? and current_user.is_registration_completed? #profile_steps_content .p10 = yield - else #profile_steps_content .p10 = yield .clearfix = render "layouts/footer" - unless @video_sessions.blank? #video-session-links #videoSession_icon.pull-left i.fa.fa-video-camera .pull-left ul - @video_sessions.each do |session| li = link_to "Join Video Session With #{session.other_user(current_user).name}", video_session_path(session.video_session_room), data: {toggle: :modal, target: '#remote-modal'} #remote-modal.modal.fade.row role="dialog" aria-labelledby='remoteModal' data-backdrop='static' tabindex='-1' .modal-dialog .modal-content.col-xs-12.no-padding = yield :content_for_remote_modal - if ActsAsTenant.current_tenant.pusher_configuration.try(:enabled) && logged_in? .livechat #chat-fixed = render 'chat/pusher_chat', parent: '#chat-fixed' = include_gon = yield :include_js = analytics_codes