Adds setting to enable or disable help page
This commit is contained in:
@@ -54,14 +54,16 @@
|
||||
title: t("shared.go_to_page") + t("layouts.header.budgets") %>
|
||||
</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>
|
||||
|
||||
<% if feature?(:help_page) %>
|
||||
<li>
|
||||
<%= layout_menu_link_to t("layouts.header.help"),
|
||||
help_path,
|
||||
current_page?(help_path),
|
||||
accesskey: "6",
|
||||
title: t("shared.go_to_page") + t("layouts.header.help") %>
|
||||
</li>
|
||||
<% end %>
|
||||
|
||||
<%= raw content_block("subnavigation_right", I18n.locale) %>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user