Fixes accesskey on subnavigation
This commit is contained in:
@@ -32,7 +32,7 @@
|
|||||||
<%= layout_menu_link_to t("layouts.header.collaborative_legislation"),
|
<%= layout_menu_link_to t("layouts.header.collaborative_legislation"),
|
||||||
legislation_processes_path,
|
legislation_processes_path,
|
||||||
controller.class.parent == Legislation,
|
controller.class.parent == Legislation,
|
||||||
accesskey: "l" %>
|
accesskey: "4" %>
|
||||||
</li>
|
</li>
|
||||||
<% end %>
|
<% end %>
|
||||||
<% if feature?(:spending_proposals) %>
|
<% if feature?(:spending_proposals) %>
|
||||||
@@ -48,14 +48,14 @@
|
|||||||
<%= layout_menu_link_to t("layouts.header.budgets"),
|
<%= layout_menu_link_to t("layouts.header.budgets"),
|
||||||
budgets_path,
|
budgets_path,
|
||||||
controller_name == "budgets" || controller_name == "investments",
|
controller_name == "budgets" || controller_name == "investments",
|
||||||
accesskey: "4",
|
accesskey: "5",
|
||||||
title: t("shared.go_to_page") + t("layouts.header.budgets") %>
|
title: t("shared.go_to_page") + t("layouts.header.budgets") %>
|
||||||
</li>
|
</li>
|
||||||
<% end %>
|
<% end %>
|
||||||
<li>
|
<li>
|
||||||
<%= link_to t("layouts.header.help"),
|
<%= link_to t("layouts.header.help"),
|
||||||
help_path,
|
help_path,
|
||||||
accesskey: "5",
|
accesskey: "6",
|
||||||
class: ("is-active" if current_page?(help_path)),
|
class: ("is-active" if current_page?(help_path)),
|
||||||
title: t("shared.go_to_page") + t("layouts.header.help") %>
|
title: t("shared.go_to_page") + t("layouts.header.help") %>
|
||||||
</li>
|
</li>
|
||||||
|
|||||||
Reference in New Issue
Block a user