#main-content .userinfo.col-xs-12 id="user-#{@user.id}" .col-sm-3.no-padding.center = image_tag @user.image.url(:big), alt: @user.name, class: 'imgshadow img-responsive' .col-sm-9.pl0 = render 'tutors/details', tutor: @user - if params[:controller] == "profile" .pull-left.col-xs-12.pt25 - if current_user || current_user.approved_friend?(@user) .col-sm-12.edit-profile-tabs-wrapper ul.nav.nav-tabs.inline role="tablist" - if @user.positions.exists? || @user.educations.count > 1 || @user.awards.exists? li class="#{'active' if @user.positions.exists? || @user.educations.count > 1 || @user.awards.exists?}" a class="ico-pro" data-toggle="tab" href="#credentials" role="tab" Credentials - if current_user.id == @user.id = link_to edit_settings_path(editable: 'credentials'), title: "Edit Credentials", class: 'edit-cred' i.fa.fa-pencil.edit-badge - if @user.courses_studying.exists? || @user.organizations.exists? || @user.user_skills.exists? li class="#{'active' unless @user.positions.exists? || @user.educations.count > 1 || @user.awards.exists?}" a class="ico-pro" data-toggle="tab" href="#bio" role="tab" Bio / - unless ActsAsTenant.current_tenant.try(:prelaunch) / li / a class="ico-pro" data-toggle="tab" href="#appointments" role="tab" Schedule .clearfix .tab-content #credentials.tab-pane.fade.face.in class="#{'active' if @user.positions.exists? || @user.educations.count > 1 || @user.awards.exists?}" - if @user.positions.exists? || @user.educations.count > 1 || @user.awards.exists? = render 'tutors/credentials', tutor: @user - else | Click on Edit to add credentials. #bio.tab-pane.face.in.fade class="#{'active' unless @user.positions.exists? || @user.educations.count > 1 || @user.awards.exists?}" = render 'tutors/bio', tutor: @user / - unless ActsAsTenant.current_tenant.try(:prelaunch) / #appointments.tab-pane.fade / .legend-wrapper / .passedEvent.pl0 / span   / | Passed Event / .busyEvent.hide / span   / | Busy / .pending / span   / | Pending / .confirmed / span   / | Confirmed / .no-padding / = render 'calendar' .mtb20