app/views/layouts/bhf/default.haml in bhf-0.1.5 vs app/views/layouts/bhf/default.haml in bhf-0.1.6

- old
+ new

@@ -3,24 +3,23 @@ %head %meta{:charset => 'utf-8'} %title= @title = csrf_meta_tag %link{:href => '/favicon.ico', :rel => 'icon', :type => 'image/x-icon'} - = stylesheet_link_tag 'bhf' + = stylesheet_link_tag(['bhf'] + Bhf::Engine.config.css.to_a) = javascript_include_tag 'bhf' =# javascript_include_tag 'mootools-core-1.3-full-nocompat-yc.js', 'mootools-more', 'mootools_rails_driver-0.4.1.js', 'class/BrowserUpdate', 'class/Ajaxify', 'class/AjaxEdit', 'class/MooEditable', 'bhf_application' %body %header %h1= image_tag 'logo_bhf.png' %nav %ul - @config.pages.each do |page| %li{:class => ('active' if @page == page)} - = link_to page, bhf_page_path(page) + = link_to t("bhf.pages.navigation.#{page}", :default => page), bhf_page_path(page) #content #main = render :partial => 'bhf/helper/flash', :locals => {:flash => flash} = yield %footer= render 'bhf/footer' - \ No newline at end of file