maestrano/mno-enterprise

View on GitHub
frontend/app/views/layouts/mno_enterprise/application.html.haml

Summary

Maintainability
Test Coverage
!!!
%html#ng-app{ 'ng-app' => 'maestrano' }
  %head
    %title= @meta[:title]
    %meta{ :name => 'description', :content => @meta[:description] }
    %meta{ 'http-equiv'=>"X-UA-Compatible", content:"IE=edge" }
    %meta{ 'name'=>"viewport", 'content'=>"width=device-width, initial-scale=1" }
    = render 'layouts/mno_enterprise/header_files'
  
  %body
    %div{ 'mno-notification-widget' => [notice_hash(notice),alert_hash(alert)].to_json, 'user-logged-in' => "#{user_signed_in?}" }
    
    - if MnoEnterprise.style.layout.public_page_header
      = render partial: 'layouts/mno_enterprise/public_page_header'
    
    = yield
    
    = render partial: 'layouts/mno_enterprise/footer_files'