Fixed facbook login and added missing page titiles

This commit is contained in:
Godwin
2016-06-01 17:15:02 -07:00
parent 9ae5da70fb
commit 844fe3d467
9 changed files with 34 additions and 36 deletions
+1 -5
View File
@@ -1,8 +1,4 @@
- @page_title = 'page_titles.404.Page_Not_Found' unless @page_title.present?
= render :partial => 'application/header', :locals => {:image_file => nil}
= row do
= columns(medium: 12) do
%h1
=_'error.404.title','This page does not exist!'
=paragraph(_'error.404.description', :p)
= paragraph(_'error.404.description', :p)
+1 -1
View File
@@ -15,4 +15,4 @@
=@page_title.present? ? I18n.t(@page_title, @page_title_vars) : I18n.t("page_titles.#{page_group.to_s}.#{page_key.to_s}")
= row do
= columns do
%h1=(_"page_titles.#{page_group.to_s}.#{page_key.to_s}")
%h1=_(@main_title || "page_titles.#{page_group.to_s}.#{page_key.to_s}")