app/views/layouts/components/backend/sidebars/_left_sidebar.html.erb in phcmemberspro-11.2.4 vs app/views/layouts/components/backend/sidebars/_left_sidebar.html.erb in phcmemberspro-11.3.0
- old
+ new
@@ -19,21 +19,21 @@
</div>
<div class="logo-element">
PHC
</div>
</li>
- <li class="">
+ <li class="<%= is_active_controller('phcmemberspro/member/profiles') %>">
<a href=""><i class="fa fa-users"></i> <span class="nav-label">Member Information</span> <span class="fa arrow"></span></a>
<ul class="nav nav-second-level collapse">
- <li class="<%= is_active_controller('phcmemberspro/member/profiles') %>"><%= link_to "Members List", member_profiles_path %></li>
- <li class="<%= is_active_action('new') %>"><%= link_to "Add a Memmber", new_member_profile_path %></li>
+ <li class=""><%= link_to "Members List", member_profiles_path %></li>
+ <li class=""><%= link_to "Add a Memmber", new_member_profile_path %></li>
</ul>
</li>
- <li class="">
+ <li class="<%= is_active_controller('phcmemberspro/directory/categories') %>">
<a href=""><i class="fa fa-sitemap"></i> <span class="nav-label">Directories & Listings</span> <span class="fa arrow"></span></a>
<ul class="nav nav-second-level collapse">
- <li class="<%= is_active_controller('phcmemberspro/directory/categories') %>"><%= link_to "Category List", directory_categories_path %></li>
- <li class="<%= is_active_action('new') %>"><%= link_to "Add a Category", new_directory_category_path %></li>
+ <li class=""><%= link_to "Category List", directory_categories_path %></li>
+ <li class=""><%= link_to "Add a Category", new_directory_category_path %></li>
</ul>
</li>
</ul>
</div>