Revert "Hiding help if there is a left/right content block"

This reverts commit 6eeb7bfdaef9d370892fe0cc03635b45b29e2036.
This commit is contained in:
Ziyan Junaideen
2018-07-25 22:50:31 +05:30
parent 33c1aaeb71
commit 494493214c

View File

@@ -54,16 +54,13 @@
title: t("shared.go_to_page") + t("layouts.header.budgets") %>
</li>
<% end %>
<% unless content_block("main_navigation_left", I18n.locale) || content_block("main_navigation_right", I18n.locale) %>
<li>
<%= 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") %>
</li>
<% end %>
<li>
<%= 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") %>
</li>
<%= raw content_block("main_navigation_right", I18n.locale) %>
</ul>