Sha256: e3fa31105067f3f4f373ed9ac759de9813610a2c5061bc4c11091cfe871a65a1

Contents?: true

Size: 1.65 KB

Versions: 2

Compression:

Stored size: 1.65 KB

Contents

!!! 5
%html
  %head		
    %meta{ :content => "text/html;charset=UTF-8", "http-equiv" => "content-type" }
    %meta{:name => 'description', :content => "#{yield :description}"}
    = csrf_meta_tag
    %title 
      #{yield :title}
    = stylesheet_link_tag 'screen.css', :media => 'screen, projection'
    /[if IE 7]
      = stylesheet_link_tag 'ie', :media => 'screen, projection'
    /[if lt IE 9]
      %script{ :src => "http://ie7-js.googlecode.com/svn/version/2.1(beta4)/IE9.js" }
  %body
    .container
      %header
        .login_container
          - if !current_user.nil?
            .login_name_container
              Logged in as:
              %span
                = current_user.email
          %span{:class => "login_links_container"}
            - if !current_user.nil?
              = link_to" Admin", users_url, :class =>"button_small"
              = link_to "Logout", logout_path, :method => :delete, :class => "button_small"
        - if flash[:notice] != nil
          %p{:class => "flash_notice"}
            = flash[:notice]
        - elsif flash[:error] != nil
          %p{:class => "flash_error"}
            = flash[:error]
      = yield
    %footer
      .container
    .container{:class => "sub_footer"}
      %p © #{Time.now.year} 
    = javascript_include_tag :defaults 
    :javascript
      var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
      document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
    :javascript
      try{ 
      var pageTracker = _gat._getTracker("UA-");
      pageTracker._trackPageview();
      } catch(err) {} 

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
i0n_rails3_generators-0.2.17 lib/generators/i0n/layout/templates/app/views/layouts/application.haml
i0n_rails3_generators-0.2.16 lib/generators/i0n/layout/templates/app/views/layouts/application.haml