Add cmtool to Qwaiter
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
= yield :footer
|
||||
= link_to 'disclaimer', '#'
|
||||
= link_to 'disclaimer', page_path('disclaimer')
|
||||
'
|
||||
= link_to 'privacy', '#'
|
||||
= link_to 'privacy', page_path('privacy')
|
||||
'
|
||||
= link_to 'kernwaarden', '#'
|
||||
= link_to 'kernwaarden', page_path('values')
|
||||
|
||||
@@ -47,7 +47,8 @@ html lang="en"
|
||||
.alert.alert-success
|
||||
a.close data-dismiss="alert" ×
|
||||
div= flash[:notice]
|
||||
= yield :page_title
|
||||
- if @page && @page.title.present?
|
||||
h1.page-title= @page.title
|
||||
= yield
|
||||
#footer-wrap
|
||||
.footer-shadow
|
||||
|
||||
@@ -5,11 +5,9 @@
|
||||
span.icon-bar
|
||||
|
||||
ul.nav
|
||||
li[class=(current_page?(controller: '/dashboard', action: 'home') ? :active : nil)]= link_to t('menu.home'), root_path
|
||||
li[class=(current_page?(controller: '/dashboard', action: 'about') ? :active : nil)]= link_to t('menu.about'), about_path
|
||||
li[class=(current_page?(controller: '/pages', action: 'home') ? :active : nil)]= link_to t('menu.home'), root_path
|
||||
li[class=(current_page?(controller: '/pages', action: 'show', name: 'about') ? :active : nil)]= link_to t('menu.about'), page_path('about')
|
||||
.nav-collapse.collapse
|
||||
ul.nav
|
||||
li[class=(current_page?(controller: '/dashboard', action: 'clients') ? :active : nil)]= link_to t('menu.clients'), clients_path
|
||||
li[class=(current_page?(controller: '/dashboard', action: 'bars_restaurants') ? :active : nil)]= link_to t('menu.bars_restaurants'), bars_restaurants_path
|
||||
li[class=(current_page?(controller: '/dashboard', action: 'cartoon') ? :active : nil)]= link_to t('menu.cartoon'), cartoon_path
|
||||
li[class=(current_page?(controller: '/dashboard', action: 'contact') ? :active : nil)]= link_to t('menu.contact'), contact_path
|
||||
- Page.top_menu.each do |page|
|
||||
li[class=(current_page?(controller: '/pages', action: 'show', name: page.name) ? :active : nil)]= link_to page.menu_text, page_path(page.name)
|
||||
|
||||
Reference in New Issue
Block a user