app/views/layouts/workarea/admin/application.html.haml in workarea-admin-3.5.3 vs app/views/layouts/workarea/admin/application.html.haml in workarea-admin-3.5.4
- old
+ new
@@ -71,10 +71,11 @@
%span.menu__heading= t('workarea.admin.layout.handy_links')
%li.menu__item= link_to t('workarea.admin.layout.visit_storefront'), storefront.root_path, class: 'menu__link'
%li.menu__item= link_to t('workarea.admin.layout.your_account_on_the_storefront'), storefront.users_account_path, class: 'menu__link'
%li.menu__item= link_to t('workarea.admin.layout.browse_storefront_as_guest'), guest_browsing_path, class: 'menu__link', data: { method: :post }
%li.menu__item= link_to t('workarea.admin.layout.edit_the_home_page'), edit_content_path(current_system_page_content_for(:home_page)), class: 'menu__link'
- %li.menu__item= link_to t('workarea.admin.layout.edit_the_footer'), edit_content_path(current_system_page_content_for(:layout), area_id: 'footer_navigation'), class: 'menu__link'
+ - if layout_footer_area_id.present?
+ %li.menu__item= link_to t('workarea.admin.layout.edit_the_footer'), edit_content_path(current_system_page_content_for(:layout), area_id: layout_footer_area_id), class: 'menu__link'
%li.menu__item.menu__item--heading
%span.menu__heading= t('workarea.admin.layout.most_visited')
- if most_visited.blank?
%li.menu__item
%p= t('workarea.admin.layout.most_visited_note')