From 494493214c5b588ab1246c2d024ce0416c1ad7a9 Mon Sep 17 00:00:00 2001 From: Ziyan Junaideen Date: Wed, 25 Jul 2018 22:50:31 +0530 Subject: [PATCH] Revert "Hiding help if there is a left/right content block" This reverts commit 6eeb7bfdaef9d370892fe0cc03635b45b29e2036. --- app/views/shared/_subnavigation.html.erb | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/app/views/shared/_subnavigation.html.erb b/app/views/shared/_subnavigation.html.erb index 87f9d86f6..3336dad0a 100644 --- a/app/views/shared/_subnavigation.html.erb +++ b/app/views/shared/_subnavigation.html.erb @@ -54,16 +54,13 @@ title: t("shared.go_to_page") + t("layouts.header.budgets") %> <% end %> - - <% unless content_block("main_navigation_left", I18n.locale) || content_block("main_navigation_right", I18n.locale) %> -
  • - <%= link_to t("layouts.header.help"), - help_path, - accesskey: "6", - class: ("is-active" if current_page?(help_path)), - title: t("shared.go_to_page") + t("layouts.header.help") %> -
  • - <% end %> +
  • + <%= link_to t("layouts.header.help"), + help_path, + accesskey: "6", + class: ("is-active" if current_page?(help_path)), + title: t("shared.go_to_page") + t("layouts.header.help") %> +
  • <%= raw content_block("main_navigation_right", I18n.locale) %>