app/views/layouts/phcmemberspro/components/backend/sidebars/_left_sidebar.html.erb in phcmemberspro-13.6.1 vs app/views/layouts/phcmemberspro/components/backend/sidebars/_left_sidebar.html.erb in phcmemberspro-13.6.2
- old
+ new
@@ -16,13 +16,14 @@
</li>
</ul>
</div>
<div class="logo-element">
- PHC
+ PHCMembers
</div>
</li>
+
<% if defined?(phcmemberspro) %>
<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=""><%= link_to "Members List", phcmemberspro.member_profiles_path %></li>
@@ -35,17 +36,64 @@
<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') %> <%= is_active_controller('phcpresspro/modules/categories') %>">
<a href=""><i class="fa fa-newspaper-o"></i> <span class="nav-label">News Posts</span> <span class="fa arrow"></span></a>
<ul class="nav nav-second-level collapse">
<li class=""><%= link_to "All Posts", phcpresspro.articles_posts_path %></li>
<li class=""><%= link_to "Add New", phcpresspro.new_articles_post_path %></li>
<li class=""><%= link_to "Categories", phcpresspro.modules_categories_path %></li>
</ul>
</li>
<% end %>
+
+ <% if defined?(phcscriptcdnpro) %>
+ <li class="<%= is_active_controller('phcscriptcdnpro/script/listings') %>">
+ <a href=""><i class="fa fa-newspaper-o"></i> <span class="nav-label">Script Listings</span> <span class="fa arrow"></span></a>
+ <ul class="nav nav-second-level collapse">
+ <li class=""><%= link_to "All Listings", phcpresspro.script_listings_path %></li>
+ <li class=""><%= link_to "Add New Listing", phcpresspro.new_script_listing_path %></li>
+ </ul>
+ </li>
+ <li class="<%= is_active_controller('phcscriptcdnpro/script/authors') %>">
+ <a href=""><i class="fa fa-newspaper-o"></i> <span class="nav-label">Script Authors</span> <span class="fa arrow"></span></a>
+ <ul class="nav nav-second-level collapse">
+ <li class=""><%= link_to "All Authors", phcpresspro.script_authors_path %></li>
+ <li class=""><%= link_to "Add New Author", phcpresspro.new_script_author_path %></li>
+ </ul>
+ </li>
+ <li class="<%= is_active_controller('phcscriptcdnpro/script/licences') %>">
+ <a href=""><i class="fa fa-newspaper-o"></i> <span class="nav-label">Script Licences</span> <span class="fa arrow"></span></a>
+ <ul class="nav nav-second-level collapse">
+ <li class=""><%= link_to "All Licences", phcpresspro.script_licences_path %></li>
+ <li class=""><%= link_to "Add New Licence", phcpresspro.new_script_licence_path %></li>
+ </ul>
+ </li>
+ <li class="<%= is_active_controller('phcscriptcdnpro/script/extensions') %>">
+ <a href=""><i class="fa fa-newspaper-o"></i> <span class="nav-label">Script Extensions</span> <span class="fa arrow"></span></a>
+ <ul class="nav nav-second-level collapse">
+ <li class=""><%= link_to "All Licences", phcpresspro.script_extensions_path %></li>
+ <li class=""><%= link_to "Add New Licence", phcpresspro.new_script_extension_path %></li>
+ </ul>
+ </li>
+ <li class="<%= is_active_controller('phcscriptcdnpro/script/urls') %>">
+ <a href=""><i class="fa fa-newspaper-o"></i> <span class="nav-label">Script Urls</span> <span class="fa arrow"></span></a>
+ <ul class="nav nav-second-level collapse">
+ <li class=""><%= link_to "All Script Urls", phcpresspro.script_listing_urls_path %></li>
+ <li class=""><%= link_to "Add New Url", phcpresspro.new_script_listing_url_path %></li>
+ </ul>
+ </li>
+ <li class="<%= is_active_controller('phcscriptcdnpro/script/versions') %>">
+ <a href=""><i class="fa fa-newspaper-o"></i> <span class="nav-label">Script Versions</span> <span class="fa arrow"></span></a>
+ <ul class="nav nav-second-level collapse">
+ <li class=""><%= link_to "All Script Versions", phcpresspro.script_versions_path %></li>
+ <li class=""><%= link_to "Add New Version", phcpresspro.new_script_version_path %></li>
+ </ul>
+ </li>
+ <% end %>
+
</ul>
-</div>
+</div>
\ No newline at end of file