navbar and page title now show the site_name defined in APP_CONFIGwq

This commit is contained in:
nilsding 2014-11-03 13:03:24 +01:00
parent f15cdf5d7f
commit 237c170ddc
2 changed files with 4 additions and 4 deletions

View File

@ -6,7 +6,7 @@
%span.icon-bar %span.icon-bar
%span.icon-bar %span.icon-bar
%span.icon-bar %span.icon-bar
%a.navbar-brand{href: "/"} justask2 %a.navbar-brand{href: "/"}= APP_CONFIG['site_name']
#j2-main-navbar-collapse.collapse.navbar-collapse #j2-main-navbar-collapse.collapse.navbar-collapse
%ul.nav.navbar-nav %ul.nav.navbar-nav
= nav_entry "Front", "/" = nav_entry "Front", "/"
@ -23,4 +23,4 @@
%li= link_to "Logout", destroy_user_session_path, method: :delete %li= link_to "Logout", destroy_user_session_path, method: :delete
- else - else
= nav_entry "Sign in", new_user_session_path = nav_entry "Sign in", new_user_session_path
= nav_entry "Sign up", new_user_registration_path = nav_entry "Sign up", new_user_registration_path

View File

@ -1,7 +1,7 @@
!!! 5 !!! 5
%html %html
%head %head
%title justask2 %title= APP_CONFIG['site_name']
= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true = stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true
= javascript_include_tag 'application', 'data-turbolinks-track' => true = javascript_include_tag 'application', 'data-turbolinks-track' => true
= csrf_meta_tags = csrf_meta_tags
@ -12,4 +12,4 @@
%hr %hr
.container .container
%p.text-danger EVIL DEBUG MODE OF DOOM ENABLED!!! %p.text-danger EVIL DEBUG MODE OF DOOM ENABLED!!!
= debug params = debug params