Sha256: 220317fa448bbd78d713e7c905f2d8a3c50278e026f910773752164b764488c8

Contents?: true

Size: 1.6 KB

Versions: 2

Compression:

Stored size: 1.6 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}
    = include_stylesheets :screen, :media => 'all'
    /[if IE 7]
      = include_stylesheets :ie, :media => 'screen, projection', :embed_images => false
    /[if lt IE 9]
      = include_javascripts :ie
  %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} 
    = include_javascripts :workspace
    :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.19 lib/generators/i0n/layout/templates/app/views/layouts/application.haml
i0n_rails3_generators-0.2.18 lib/generators/i0n/layout/templates/app/views/layouts/application.haml