diff --git a/app/controllers/front_controller.rb b/app/controllers/front_controller.rb index 02098f8a5..da6082976 100644 --- a/app/controllers/front_controller.rb +++ b/app/controllers/front_controller.rb @@ -73,7 +73,7 @@ class FrontController < ApplicationController res << " active" if (current_page.id.eql?(page.id) || current_page.descendant_of?(page)) res << "'>" root = "/" - res << "#{page.title}" + res << "#{page.title}" if page.visible_children.size > 0 && current < menu.levels res << "" res << menu_level(page, current_page, current + 1, menu) diff --git a/vendor/built_in_modules/web_resource/app/views/panel/web_resource/widget/web_links/_index.html.erb b/vendor/built_in_modules/web_resource/app/views/panel/web_resource/widget/web_links/_index.html.erb index 89608fc07..013718b56 100644 --- a/vendor/built_in_modules/web_resource/app/views/panel/web_resource/widget/web_links/_index.html.erb +++ b/vendor/built_in_modules/web_resource/app/views/panel/web_resource/widget/web_links/_index.html.erb @@ -10,11 +10,13 @@