app/views/layouts/components/backend/sidebars/_left_sidebar.html.erb in phcmemberspro-13.4.1 vs app/views/layouts/components/backend/sidebars/_left_sidebar.html.erb in phcmemberspro-13.4.2
- old
+ new
@@ -35,7 +35,23 @@
<li class=""><%= link_to "Category List", phcmemberspro.directory_categories_path %></li>
<li class=""><%= link_to "Add a Category", phcmemberspro.new_directory_category_path %></li>
</ul>
</li>
<% end %>
+ <% if defined?(phcpresspro) %>
+ <li class="<%= is_active_controller('phcpresspro/articles/posts') %>">
+ <a href=""><i class="fa fa-users"></i> <span class="nav-label">News Articles</span> <span class="fa arrow"></span></a>
+ <ul class="nav nav-second-level collapse">
+ <li class=""><%= link_to "Articles List", phcpresspro.articles_posts_path %></li>
+ <li class=""><%= link_to "New Article", phcpresspro.new_articles_post_path %></li>
+ </ul>
+ </li>
+ <li class="<%= is_active_controller('phcpresspro/modules/categories') %>">
+ <a href=""><i class="fa fa-sitemap"></i> <span class="nav-label">Article Categories & Tags</span> <span class="fa arrow"></span></a>
+ <ul class="nav nav-second-level collapse">
+ <li class=""><%= link_to "Category List", phcpresspro.modules_categories_path %></li>
+ <li class=""><%= link_to "Add a Category", phcpresspro.new_modules_category_path %></li>
+ </ul>
+ </li>
+ <% end %>
</ul>
</div>