app/views/layouts/phcmemberspro/components/backend/sidebars/_side_menu.html.erb in phcmemberspro-83.0.0 vs app/views/layouts/phcmemberspro/components/backend/sidebars/_side_menu.html.erb in phcmemberspro-84.0.0
- old
+ new
@@ -45,23 +45,23 @@
<b class="caret"></b>
<i class="fas fa-newspaper"></i>
<span>Article Posts</span>
</a>
<ul class="sub-menu">
- <li class="<%= phc_menus_active_controller('phcpresspro/article/posts') %>"><%= link_to('Article Index', phcpresspro.article_posts_path) %></li>
- <li class="<%= phc_menus_active_controller('phcpresspro/article/posts#new') %>"><%= link_to('New Aritcle', phcpresspro.new_article_post_path) %></li>
+ <li class="<%= phc_menus_active_controller('phcpresspro/article/posts') %>"><%= link_to 'Article Index', phcpresspro.article_posts_path %></li>
+ <li class="<%= phc_menus_active_controller('phcpresspro/article/posts#new') %>"><%= link_to 'New Aritcle', phcpresspro.new_article_post_path %></li>
</ul>
</li>
<li class="has-sub">
<a href="javascript:;">
<b class="caret"></b>
<i class="fas fa-sitemap"></i>
<span>Article Categories</span>
</a>
<ul class="sub-menu">
- <li class="<%= phc_menus_active_controller('phcpresspro/article/categories') %>"><%= link_to('Category Index', phcpresspro.article_categories_path) %></li>
- <li class="<%= phc_menus_active_controller('phcpresspro/article/categories#new') %>"><%= link_to('New Category', phcpresspro.new_article_category_path) %></li>
+ <li class="<%= phc_menus_active_controller('phcpresspro/article/categories') %>"><%= link_to 'Category Index', phcpresspro.article_categories_path %></li>
+ <li class="<%= phc_menus_active_controller('phcpresspro/article/categories#new') %>"><%= link_to 'New Category', phcpresspro.new_article_category_path %></li>
</ul>
</li>
<!-- Sidebar - Sidebar Navigation - PHCPress(Pro) -->
<% end %>
@@ -73,28 +73,56 @@
<b class="caret"></b>
<i class="fas fa-users"></i>
<span>Member's Data</span>
</a>
<ul class="sub-menu">
- <li class="<%= phc_menus_active_controller('phcmemberspro/member/profiles') %>"><%= link_to('Profile Index', phcmemberspro.member_profiles_path) %></li>
- <li class="<%= phc_menus_active_controller('phcmemberspro/member/profiles#new') %>"><%= link_to('New Member Profile', phcmemberspro.new_member_profile_path) %></li>
+ <li class="<%= phc_menus_active_controller('phcmemberspro/member/profiles') %>"><%= link_to 'Profile Index', phcmemberspro.member_profiles_path %></li>
+ <li class="<%= phc_menus_active_controller('phcmemberspro/member/profiles#new') %>"><%= link_to 'New Member Profile', phcmemberspro.new_member_profile_path %></li>
</ul>
</li>
<li class="has-sub">
<a href="javascript:;">
<b class="caret"></b>
<i class="fas fa-list-alt"></i>
<span>Member's Directory</span>
</a>
<ul class="sub-menu">
- <li class="<%= phc_menus_active_controller('phcmemberspro/directory/categories') %>"><%= link_to('Directory Index', phcmemberspro.directory_categories_path) %></li>
- <li class="<%= phc_menus_active_controller('phcmemberspro/directory/categories#new') %>"><%= link_to('New Directory Listing', phcmemberspro.new_directory_category_path) %></li>
+ <li class="<%= phc_menus_active_controller('phcmemberspro/directory/categories') %>"><%= link_to 'Directory Index', phcmemberspro.directory_categories_path %></li>
+ <li class="<%= phc_menus_active_controller('phcmemberspro/directory/categories#new') %>"><%= link_to 'New Directory Listing', phcmemberspro.new_directory_category_path %></li>
</ul>
</li>
<!-- Sidebar - Sidebar Navigation - PHCPress(Pro) -->
<% end %>
+ <% if defined?phcreallistingspro %>
+ <!-- Sidebar - Sidebar Navigation - PHCPress(Pro) -->
+ <li class="nav-header">Listing Management</li>
+ <li class="has-sub">
+ <a href="javascript:;">
+ <b class="caret"></b>
+ <i class="fas fa-store-alt"></i>
+ <span>Property Listings</span>
+ </a>
+ <ul class="sub-menu">
+ <li class="<%= phc_menus_active_controller('phcreallistingspro/property/listings') %>"><%= link_to 'Listing Index', phcreallistingspro.property_listings_path %></li>
+ <li class="<%= phc_menus_active_controller('phcreallistingspro/property/listings#new') %>"><%= link_to 'New Listing', phcreallistingspro.new_property_listing_path %></li>
+ </ul>
+ </li>
+ <li class="has-sub">
+ <a href="javascript:;">
+ <b class="caret"></b>
+ <i class="fas fa-list-alt"></i>
+ <span>Listing Features</span>
+ </a>
+ <ul class="sub-menu">
+ <li class="<%= phc_menus_active_controller('phcreallistingspro/property/listings') %>"><%= link_to 'Features Index', phcreallistingspro.property_features_path %></li>
+ <li class="<%= phc_menus_active_controller('phcreallistingspro/property/listings#new') %>"><%= link_to 'New Features', phcreallistingspro.new_property_feature_path %></li>
+ </ul>
+ </li>
+ <!-- Sidebar - Sidebar Navigation - PHCPress(Pro) -->
+ <% end %>
+
<% if defined?phcscriptcdnpro %>
<!-- Sidebar - Sidebar Navigation - PHCScriptCDN(Pro) -->
<li class="nav-header">Script Management</li>
<li class="has-sub">
<a href="javascript:;">
@@ -131,11 +159,11 @@
<b class="caret"></b>
<i class="fas fa-user"></i>
<span>Accounts Dashboard</span>
</a>
<ul class="sub-menu">
- <li class="<%= phc_menus_active_controller('phcaccountspro/admin/edit') %>"><%= link_to('Settings', phcaccountspro.edit_user_registration_path) %></li>
- <li class="<%= phc_menus_active_controller('phcaccountspro/admin/new') %>"><%= link_to('Logout', phcaccountspro.destroy_user_session_path, method: :delete) %></li>
+ <li class="<%= phc_menus_active_controller('phcaccountspro/admin/edit') %>"><%= link_to 'Settings', phcaccountspro.edit_user_registration_path %></li>
+ <li class="<%= phc_menus_active_controller('phcaccountspro/admin/new') %>"><%= link_to 'Logout', phcaccountspro.destroy_user_session_path, method: :delete %></li>
</ul>
</li>
<!-- Sidebar - Sidebar Navigation - PHCAccountsPro -->
<!-- Sidebar - Sidebar Minifier -->
<li>