app/views/layouts/welcome.html.haml
!!!
%html
%head
%meta{:"http-equiv" => "Content-Type", :content => "text/html; charset=utf-8" }
%title
= @page_title ? @page_title + " - " : ""
= @current_organisation ? @current_organisation.name : "One Click Orgs"
%link{:href=>"/favicon.ico", :rel=>"shortcut icon"}
= stylesheet_link_tag "application"
= stylesheet_link_tag "themes/#{Setting[:theme] ? Setting[:theme] : 'one_click_orgs'}"
/[if lt IE 9]
= stylesheet_link_tag 'ie'
= javascript_include_tag :defaults
= javascript_tag '$.fx.off = true;' if Rails.env.test?
= yield(:head)
= csrf_meta_tag
= google_analytics_code
%body
%div#container
= render(:partial => 'shared/control_bar')
%div#doc
%div#hd
%h1.header
= link_to(@current_organisation.name, root_path)
= render(:partial => 'shared/tagline')
- if flash[:notice]
%div#notice
= flash[:notice]
- if flash[:error]
%div#error
= simple_format(flash[:error])
%div#bd
= yield
#lightbox_screen{:style => 'display: none;'}
#lightbox{:style => 'display: none;'}
- if @notification
- current_user.has_seen_notification!(@notification)
.notification
= render(:partial => "shared/notifications/#{@notification}")
%p
%button#close_notification{'data-notification' => @notification} Close
- else
= yield(:lightbox)
%div.footer
= render(:partial => 'shared/footer')
= get_satisfaction_widget