#header #wrapperBiolaHeader #biolaHeader h2.branding a.logo href="http://www.biola.edu" img> src="http://academics.biola.edu/static/biola/header-slim/images/logo-biola-mark-white.png" alt="" ' Biola span.university University #current-user-profile.dropdown a.dropdown-toggle href="#" aria-hidden="true" data-toggle="dropdown" - if @current_user.try(:photo_url).present? #profile-img style="background-image: url('#{@current_user.photo_url}')" - else span.fa-stack.fa-lg i.fa.fa-circle.fa-stack-2x i.fa.fa-user.fa-stack-1x.fa-inverse ul.dropdown-menu.pull-right role="menu" aria-labelledby="dLabel" - if @current_user - BiolaFrontendToolkit.config.profile_links.each do |link| li = app_link link li = link_to logout_path do i.fa.fa-power-off> | Logout - else li = link_to 'Login', params.merge(login: 'true') / - if @current_user / #global-alerts.dropdown / a.dropdown-toggle href="#" aria-hidden="true" data-toggle="dropdown" / i.fa.fa-bell-o / ul.dropdown-menu.pull-right role="menu" aria-labelledby="dLabel" / li = link_to 'This is a really important message...', '#' / li = link_to 'Your last timecard is way overdue.', '#' / li = link_to 'You are in quite the pickle mister.', '#' / li = link_to 'Your student bill was due last week Thursday.', '#' / li = link_to 'You owe us one million dollars, plus a delicious candy bar.', '#' #apps-list.dropdown = app_dropdown_link BiolaFrontendToolkit.config.app_links.present? do span.desktop = BiolaFrontendToolkit.config.app_name - if BiolaFrontendToolkit.config.app_version.present? span.version = "v#{BiolaFrontendToolkit.config.app_version}" = show_environment - if BiolaFrontendToolkit.config.app_links.present? i.fa.fa-caret-down< span.mobile - if BiolaFrontendToolkit.config.app_links.present? i.fa.fa-list.app-list-icon i.fa.fa-caret-down - else i.fa.fa-home - if BiolaFrontendToolkit.config.app_links.present? ul.dropdown-menu.pull-right role="menu" aria-labelledby="dLabel" - BiolaFrontendToolkit.config.app_links.each do |link| li = app_link link / li.divider / li.text-center = link_to 'More', '#'