Sha256: f1ec8d5ff5a78b1dfee04b4f008ed87e37e1611d027e3e2614a5d975e4c76a3b

Contents?: true

Size: 1 KB

Versions: 21

Compression:

Stored size: 1 KB

Contents

!!! 5
%html
  %head
    %title
      = HTMLEntities.new.encode(I18n.t('nav.error.http'), :named) + ' ' + error.to_s + ' | '
      = HTMLEntities.new.encode(I18n.t('nav.error.http_' + error.to_s + '.short'), :named)
    %meta{charset: 'utf-8'}
    %link{rel: 'icon', type: 'image/x-icon', href: '/design/favicon.ico'}
    %link{rel: 'stylesheet', type: 'text/css', href: '/design/style.css'}
  %body
    %header
      %h1
        %a{href: '/index.html'}= Socket.gethostname.capitalize
    %main
      %section#error
        %h2
          = HTMLEntities.new.encode(I18n.t('nav.error.http'), :named) + ' ' + error.to_s
          %br
          = HTMLEntities.new.encode(I18n.t('nav.error.http_' + error.to_s + '.short'), :named)
        %p
          %img{src: '/design/error.png', alt: ''}
          %br
          = HTMLEntities.new.encode(I18n.t('nav.error.http_' + error.to_s + '.full'), :named)
          %br
          %br
          %a{href: '/index.html'}= HTMLEntities.new.encode(I18n.t('nav.back.home'), :named)
    %footer

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
intranet-core-2.5.0 lib/intranet/resources/haml/http_error.haml
intranet-core-2.4.5 lib/intranet/resources/haml/http_error.haml
intranet-core-2.4.4 lib/intranet/resources/haml/http_error.haml
intranet-core-2.4.3 lib/intranet/resources/haml/http_error.haml
intranet-core-2.4.1 lib/intranet/resources/haml/http_error.haml
intranet-core-2.4.0 lib/intranet/resources/haml/http_error.haml
intranet-core-2.3.3 lib/intranet/resources/haml/http_error.haml
intranet-core-2.3.2 lib/intranet/resources/haml/http_error.haml
intranet-core-2.3.1 lib/intranet/resources/haml/http_error.haml
intranet-core-2.3.0 lib/intranet/resources/haml/http_error.haml
intranet-core-2.2.0 lib/intranet/resources/haml/http_error.haml
intranet-core-2.1.4 lib/intranet/resources/haml/http_error.haml
intranet-core-2.1.2 lib/intranet/resources/haml/http_error.haml
intranet-core-2.1.1 lib/intranet/resources/haml/http_error.haml
intranet-core-2.1.0 lib/intranet/resources/haml/http_error.haml
intranet-core-2.0.0 lib/intranet/resources/haml/http_error.haml
intranet-core-1.2.0 lib/intranet/resources/haml/http_error.haml
intranet-core-1.1.1 lib/intranet/resources/haml/http_error.haml
intranet-core-1.0.2 lib/intranet/resources/haml/http_error.haml
intranet-core-1.0.1 lib/intranet/resources/haml/http_error.haml