finish layouts i18n, use help url from config, use html language from locale
This commit is contained in:
parent
5b53749fe6
commit
39812bef99
7 changed files with 38 additions and 21 deletions
|
|
@ -1,10 +1,10 @@
|
|||
!!! 5
|
||||
%html(lang="en")
|
||||
%html(lang='#{I18n.locale}')
|
||||
%head
|
||||
%meta(charset="utf-8")
|
||||
%meta(http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1")
|
||||
%meta(name="viewport" content="width=device-width, initial-scale=1.0")
|
||||
%title= ["Foodsoft", yield(:title)].join(" - ")
|
||||
%title= [t('layouts.foodsoft'), yield(:title)].join(" - ")
|
||||
= csrf_meta_tags
|
||||
= stylesheet_link_tag "application", :media => "all"
|
||||
%link(href="images/apple-touch-icon-144x144.png" rel="apple-touch-icon-precomposed" sizes="144x144")
|
||||
|
|
@ -23,4 +23,4 @@
|
|||
\==================================================
|
||||
/ Placed at the end of the document so the pages load faster
|
||||
= javascript_include_tag "application"
|
||||
= yield(:javascript)
|
||||
= yield(:javascript)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue