<li>
<a href="<%= ApplicationController.root_context -%>/issues/index" class="<%= 'selected' if selected_section==Navigation::SECTION_ISSUES -%>"><%= message('issues.page') -%></a>
</li>
- <%= render :partial => 'layouts/menu_coding_rules', :locals => { :selected_section => selected_section } -%>
+ <li>
+ <a href="<%= ApplicationController.root_context -%>/coding_rules" class="<%= 'selected' if selected_section==Navigation::SECTION_CODING_RULES -%>"><%= message('coding_rules.page') -%></a>
+ </li>
+ <li>
+ <a href="<%= ApplicationController.root_context -%>/profiles" class="<%= 'selected' if selected_section==Navigation::SECTION_QUALITY_PROFILES -%>"><%= message('quality_profiles.page') -%></a>
+ </li>
<li>
<a href="<%= ApplicationController.root_context -%>/quality_gates" class="<%= 'selected' if selected_section==Navigation::SECTION_QUALITY_GATES -%>"><%= message('quality_gates.page') -%></a>
</li>
+++ /dev/null
-<li>
- <a href="#"
- class="with-icon<%= ' selected' if [ Navigation::SECTION_CODING_RULES, Navigation::SECTION_QUALITY_PROFILES ].include? selected_section -%>"
- onclick="showDropdownMenu('coding-rules-menu'); return false;">
- <span><%= message('coding_rules.page') -%></span>
- <i class="icon-dropdown"></i>
- </a>
-
- <div id="coding-rules-menu" class="dropdown-menu" style="max-width: none; display: none;">
- <div>
- <ul>
- <li><a href="<%= ApplicationController.root_context -%>/coding_rules"><%= message('all_rules.page') -%></a></li>
- <li><a href="<%= ApplicationController.root_context -%>/profiles"><%= message('quality_profiles.page') -%></a></li>
- </ul>
- </div>
- </div>
-</li>