app/views/layouts/phcpress/components/backend/sidebars/_side_menu.html.erb in phcpress-56.4.0 vs app/views/layouts/phcpress/components/backend/sidebars/_side_menu.html.erb in phcpress-57.0.0
- old
+ new
@@ -1,189 +1,921 @@
-<!-- Sidebar for PHCDevworks Engines -->
-<div data-scrollbar="true" data-height="100%">
-
- <!-- Sidebar - User Profile Menu -->
- <ul class="nav">
- <% if current_user %>
- <li class="nav-profile">
- <a href="javascript:;" data-toggle="nav-profile">
- <div class="cover with-shadow"></div>
- <div class="image">
- <%= image_tag current_user.gravatar_url %>
- </div>
- <div class="info">
- <b class="caret pull-right"></b>
- <%= current_user.firstname + ' ' + current_user.lastname %>
- <small><%= current_user.username %></small>
- </div>
- </a>
- </li>
- <li>
- <ul class="nav nav-profile">
- <li>
- <%= link_to phcaccounts.edit_user_registration_path do %>
- <i class="fas fa-cogs"></i> Account Settings
- <% end %>
- </li>
- <li>
- <%= link_to phcaccounts.destroy_user_session_path do %>
- <i class="fas fa-sign-out-alt"></i> Logout
- <% end %>
- </li>
- </ul>
- </li>
- <% end %>
- </ul>
- <!-- Sidebar - User Profile Menu -->
-
- <!-- Sidebar - Sidebar Navigation -->
- <ul class="nav">
-
- <% if defined?phccodesnipper %>
- <!-- Sidebar - Sidebar Navigation - PHCCodeSnipper -->
- <li class="nav-header">Code Snippets</li>
- <li class="has-sub">
- <a href="javascript:;">
- <b class="caret"></b>
- <i class="fas fa-newspaper"></i>
- <span>Code Snippets</span>
- </a>
- <ul class="sub-menu">
- <li class="<%= phc_menus_active_controller('phccodesnipper/script/posts') %>"><%= link_to 'Snippet Index', phccodesnipper.script_snippets_path %></li>
- <li class="<%= phc_menus_active_controller('phccodesnipper/script/posts#new') %>"><%= link_to 'New Snippet', phccodesnipper.new_script_snippet_path %></li>
- </ul>
- </li>
- <!-- Sidebar - Sidebar Navigation - PHCCodeSnipper -->
- <% end %>
-
- <% if defined?phcpress %>
- <!-- Sidebar - Sidebar Navigation - PHCPress -->
- <li class="nav-header">Article Management</li>
- <li class="has-sub">
- <a href="javascript:;">
- <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('phcpress/article/posts') %>"><%= link_to('Article Index', phcpress.article_posts_path) %></li>
- <li class="<%= phc_menus_active_controller('phcpress/article/posts#new') %>"><%= link_to('New Aritcle', phcpress.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('phcpress/article/categories') %>"><%= link_to('Category Index', phcpress.article_categories_path) %></li>
- <li class="<%= phc_menus_active_controller('phcpress/article/categories#new') %>"><%= link_to('New Category', phcpress.new_article_category_path) %></li>
- </ul>
- </li>
- <!-- Sidebar - Sidebar Navigation - PHCPress -->
- <% end %>
-
- <% if defined?phcmembers %>
- <!-- Sidebar - Sidebar Navigation - PHCMembers -->
- <li class="nav-header">Membership Manager</li>
- <li class="has-sub">
- <a href="javascript:;">
- <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('phcmembers/member/profiles') %>"><%= link_to('Profile Index', phcmembers.member_profiles_path) %></li>
- <li class="<%= phc_menus_active_controller('phcmembers/member/profiles#new') %>"><%= link_to('New Member Profile', phcmembers.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('phcmembers/directory/categories') %>"><%= link_to('Directory Index', phcmembers.directory_categories_path) %></li>
- <li class="<%= phc_menus_active_controller('phcmembers/directory/categories#new') %>"><%= link_to('New Directory Listing', phcmembers.new_directory_category_path) %></li>
- </ul>
- </li>
- <!-- Sidebar - Sidebar Navigation - PHCMembers -->
- <% end %>
-
- <% if defined?phcscriptcdn %>
- <!-- Sidebar - Sidebar Navigation - PHCScriptCDN -->
- <li class="nav-header">Script Management</li>
- <li class="has-sub">
- <a href="javascript:;">
- <b class="caret"></b>
- <i class="fas fa-newspaper"></i>
- <span>Script Posts</span>
- </a>
- <ul class="sub-menu">
- <li class="<%= phc_menus_active_controller('phcscriptcdn/script/listings') %>"><%= link_to "All Script Listings", phcscriptcdn.script_listings_path %></li>
- <li class="<%= phc_menus_active_controller('phcscriptcdn/script/listings#new') %>"><%= link_to "Add a New Listing", phcscriptcdn.new_script_listing_path %></li>
- </ul>
- </li>
- <li class="has-sub">
- <a href="javascript:;">
- <b class="caret"></b>
- <i class="fas fa-sitemap"></i>
- <span>Script Extras</span>
- </a>
- <ul class="sub-menu">
- <li class="<%= phc_menus_active_controller('phcscriptcdn/script/authors') %>"><%= link_to "Script Authors", phcscriptcdn.script_authors_path %></li>
- <li class="<%= phc_menus_active_controller('phcscriptcdn/script/licences') %>"><%= link_to "Script Licences", phcscriptcdn.script_licences_path %></li>
- <li class="<%= phc_menus_active_controller('phcscriptcdn/script/extensions') %>"><%= link_to "Script Extensions", phcscriptcdn.script_extensions_path %></li>
- <li class="<%= phc_menus_active_controller('phcscriptcdn/script/versions') %>"><%= link_to "Script Versions", phcscriptcdn.script_versions_path %></li>
- </ul>
- </li>
- <!-- Sidebar - Sidebar Navigation - PHCScriptCDN -->
- <% end %>
-
- <% if current_user && current_user.admin? %>
- <!-- Sidebar - Sidebar Navigation - PHCAccounts Admin Options -->
- <li class="nav-header">User Administration</li>
- <li class="has-sub">
- <a href="javascript:;">
- <b class="caret"></b>
- <i class="fas fa-user"></i>
- <span>Admin</span>
- </a>
- <ul class="sub-menu">
- <li class="<%= phc_menus_active_controller('phcaccounts/admin/users') %>"><%= link_to 'User List', phcaccounts.admin_users_path %></li>
- </ul>
- </li>
- <!-- Sidebar - Sidebar Navigation - PHCAccounts Admin Options -->
- <% end %>
-
- <% if current_user %>
- <!-- Sidebar - Sidebar Navigation - PHCAccounts User Options -->
- <li class="nav-header">Your Account</li>
- <li class="has-sub">
- <a href="javascript:;">
- <b class="caret"></b>
- <i class="fas fa-user"></i>
- <span>Accounts Settings</span>
- </a>
- <ul class="sub-menu">
- <li class="<%= phc_menus_active_controller('phcaccounts/user/edit') %>"><%= link_to 'Settings', phcaccounts.edit_user_registration_path %></li>
- <li class="<%= phc_menus_active_controller('phcaccounts/user/new') %>"><%= link_to 'Logout', phcaccounts.destroy_user_session_path, method: :delete %></li>
- </ul>
- </li>
- <!-- Sidebar - Sidebar Navigation - PHCAccounts User Options -->
- <% end %>
-
- <!-- Sidebar - Sidebar Minifier -->
- <li>
- <a href="javascript:;" class="sidebar-minify-btn" data-click="sidebar-minify">
- <i class="fa fa-angle-double-left"></i>
- </a>
- </li>
- <!-- Sidebar - Sidebar Minifier -->
-
- </ul>
- <!-- Sidebar - Sidebar Navigation -->
-
-</div>
-<!-- Sidebar for PHCDevworks Engines -->
+<!-- -PHCDEV- Page Container - Sidebar -->
+<div class="app-sidebar-content" data-scrollbar="true" data-height="100%">
+ <div class="menu">
+
+ <!-- -PHCDEV- Page Container - Sidebar - Profile -->
+ <div class="menu-profile">
+ <% if current_user %>
+ <a href="javascript:;" class="menu-profile-link" data-toggle="app-sidebar-profile" data-target="#appSidebarProfileMenu">
+ <div class="menu-profile-cover with-shadow"></div>
+ <div class="menu-profile-image">
+ <%= image_tag current_user.gravatar_url %>
+ </div>
+ <div class="menu-profile-info">
+ <div class="d-flex align-items-center">
+ <div class="flex-grow-1">
+ <%= current_user.firstname + " " + current_user.lastname %>
+ </div>
+ <div class="menu-caret ms-auto"></div>
+ </div>
+ <small><%= current_user.username %></small>
+ </div>
+ </a>
+ <% end %>
+ </div>
+ <!-- -PHCDEV- Page Container - Sidebar - Profile -->
+
+ <!-- -PHCDEV- Page Container - Sidebar - Profile - Menu -->
+ <div id="appSidebarProfileMenu" class="collapse">
+ <div class="menu-item pt-5px">
+ <%= link_to phcdevworks_accounts_devise.edit_user_registration_path, class: "menu-link" do %>
+ <div class="menu-icon"><i class="fad fa-cogs"></i></div>
+ <div class="menu-text">Account Settings</div>
+ <% end %>
+ <%= link_to phcdevworks_accounts_devise.destroy_user_session_path, method: :delete, class: "menu-link" do %>
+ <div class="menu-icon"><i class="fad fa-sign-out-alt"></i></div>
+ <div class="menu-text">Logout</div>
+ <% end %>
+ </div>
+ <div class="menu-divider m-0"></div>
+ </div>
+ <!-- -PHCDEV- Page Container - Sidebar - Profile - Menu -->
+
+ <!-- -PHCDEV- Page Container - Sidebar - Navigation - PHCDevworks Members -->
+ <% if defined?phcdevworks_members %>
+ <div class="menu-header">PHCDevworks Members</div>
+ <div class="menu-item has-sub">
+ <a href="javascript:;" class="menu-link">
+ <div class="menu-icon"><i class="material-icons">people</i></div>
+ <div class="menu-text">Membership Manager</div>
+ <div class="menu-caret"></div>
+ </a>
+ <div class="menu-submenu">
+ <div class="menu-item has-sub">
+ <a href="javascript:;" class="menu-link">
+ <div class="menu-text">Member's Data</div>
+ <div class="menu-caret"></div>
+ </a>
+ <div class="menu-submenu <%= phc_menu_active_controller("phcdevworks_members/member/profiles") %>">
+ <div class="menu-item <%= phc_menu_active_action_controller("phcdevworks_members/member/profiles", "Index") %>">
+ <%= link_to phcdevworks_members.member_profiles_path, class: "menu-link" do %>
+ <div class="menu-text">Member Index</div>
+ <% end %>
+ </div>
+ <div class="menu-item <%= phc_menu_active_action_controller("phcdevworks_members/member/profiles", "New") %>">
+ <%= link_to phcdevworks_members.new_member_profile_path, class: "menu-link" do %>
+ <div class="menu-text">Add a New Member</div>
+ <% end %>
+ </div>
+ </div>
+ </div>
+ <div class="menu-item has-sub">
+ <a href="javascript:;" class="menu-link">
+ <div class="menu-text">Member's Directory</div>
+ <div class="menu-caret"></div>
+ </a>
+ <div class="menu-submenu <%= phc_menu_active_controller("phcdevworks_members/modules/categories") %>">
+ <div class="menu-item <%= phc_menu_active_action_controller("phcdevworks_members/modules/categories", "Index") %>">
+ <%= link_to phcdevworks_members.directory_categories_path, class: "menu-link" do %>
+ <div class="menu-text">Category Index</div>
+ <% end %>
+ </div>
+ <div class="menu-item <%= phc_menu_active_action_controller("phcdevworks_members/modules/categories", "New") %>">
+ <%= link_to phcdevworks_members.new_directory_category_path, class: "menu-link" do %>
+ <div class="menu-text">Add a New Category</div>
+ <% end %>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ <% end %>
+ <!-- -PHCDEV- Page Container - Sidebar - Navigation - PHCDevworks Members -->
+
+ <!-- -PHCDEV- Page Container - Sidebar - Navigation - PHCMembers -->
+ <% if defined?phcmembers %>
+ <div class="menu-header">Members</div>
+ <div class="menu-item has-sub">
+ <a href="javascript:;" class="menu-link">
+ <div class="menu-icon"><i class="material-icons">groups</i></div>
+ <div class="menu-text">Members</div>
+ <div class="menu-caret"></div>
+ </a>
+ <div class="menu-submenu">
+ <div class="menu-item has-sub">
+ <a href="javascript:;" class="menu-link">
+ <div class="menu-text">Members List</div>
+ <div class="menu-caret"></div>
+ </a>
+ <div class="menu-submenu <%= phc_menu_active_controller("phcmembers/member/profiles") %>">
+ <div class="menu-item <%= phc_menu_active_action_controller("phcmembers/member/profiles", "Index") %>">
+ <%= link_to phcmembers.member_profiles_path, class: "menu-link" do %>
+ <div class="menu-text">All Members</div>
+ <% end %>
+ </div>
+ <div class="menu-item <%= phc_menu_active_action_controller("phcmembers/member/profiles", "New") %>">
+ <%= link_to phcmembers.new_member_profile_path, class: "menu-link" do %>
+ <div class="menu-text">Add a New Member</div>
+ <% end %>
+ </div>
+ </div>
+ </div>
+ <div class="menu-item has-sub">
+ <a href="javascript:;" class="menu-link">
+ <div class="menu-text">Members Directory</div>
+ <div class="menu-caret"></div>
+ </a>
+ <div class="menu-submenu <%= phc_menu_active_controller("phcmembers/directory/categories") %>">
+ <div class="menu-item <%= phc_menu_active_action_controller("phcmembers/directory/categories", "Index") %>">
+ <%= link_to phcmembers.directory_categories_path, class: "menu-link" do %>
+ <div class="menu-text">All Categories</div>
+ <% end %>
+ </div>
+ <div class="menu-item <%= phc_menu_active_action_controller("phcmembers/directory/categories", "New") %>">
+ <%= link_to phcmembers.new_directory_category_path, class: "menu-link" do %>
+ <div class="menu-text">Add a New Category</div>
+ <% end %>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ <% end %>
+ <!-- -PHCDEV- Page Container - Sidebar - Navigation - PHCMembers -->
+
+ <!-- -PHCDEV- Page Container - Sidebar - Navigation - PHCMembers Pro -->
+ <% if defined?phcmemberspro %>
+ <div class="menu-header">Members</div>
+ <div class="menu-item has-sub">
+ <a href="javascript:;" class="menu-link">
+ <div class="menu-icon"><i class="material-icons">groups</i></div>
+ <div class="menu-text">Members</div>
+ <div class="menu-caret"></div>
+ </a>
+ <div class="menu-submenu">
+ <div class="menu-item has-sub">
+ <a href="javascript:;" class="menu-link">
+ <div class="menu-text">Members List</div>
+ <div class="menu-caret"></div>
+ </a>
+ <div class="menu-submenu <%= phc_menu_active_controller("phcmembers/member/profiles") %>">
+ <div class="menu-item <%= phc_menu_active_action_controller("phcmembers/member/profiles", "Index") %>">
+ <%= link_to phcmemberspro.member_profiles_path, class: "menu-link" do %>
+ <div class="menu-text">All Members</div>
+ <% end %>
+ </div>
+ <div class="menu-item <%= phc_menu_active_action_controller("phcmembers/member/profiles", "New") %>">
+ <%= link_to phcmemberspro.new_member_profile_path, class: "menu-link" do %>
+ <div class="menu-text">Add a New Member</div>
+ <% end %>
+ </div>
+ </div>
+ </div>
+ <div class="menu-item has-sub">
+ <a href="javascript:;" class="menu-link">
+ <div class="menu-text">Members Directory</div>
+ <div class="menu-caret"></div>
+ </a>
+ <div class="menu-submenu <%= phc_menu_active_controller("phcmembers/directory/categories") %>">
+ <div class="menu-item <%= phc_menu_active_action_controller("phcmembers/directory/categories", "Index") %>">
+ <%= link_to phcmemberspro.directory_categories_path, class: "menu-link" do %>
+ <div class="menu-text">All Categories</div>
+ <% end %>
+ </div>
+ <div class="menu-item <%= phc_menu_active_action_controller("phcmembers/directory/categories", "New") %>">
+ <%= link_to phcmemberspro.new_directory_category_path, class: "menu-link" do %>
+ <div class="menu-text">Add a New Category</div>
+ <% end %>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ <% end %>
+ <!-- -PHCDEV- Page Container - Sidebar - Navigation - PHCMembers Pro -->
+
+ <!-- -PHCDEV- Page Container - Sidebar - Navigation - PHCDevworks Press -->
+ <% if defined?phcdevworks_press %>
+ <div class="menu-header">PHCDevworks Press</div>
+ <div class="menu-item has-sub">
+ <a href="javascript:;" class="menu-link">
+ <div class="menu-icon"><i class="material-icons">newspaper</i></div>
+ <div class="menu-text">Blogging</div>
+ <div class="menu-caret"></div>
+ </a>
+ <div class="menu-submenu">
+ <div class="menu-item has-sub">
+ <a href="javascript:;" class="menu-link">
+ <div class="menu-text">Article Posts</div>
+ <div class="menu-caret"></div>
+ </a>
+ <div class="menu-submenu <%= phc_menu_active_controller("phcdevworks_press/article/posts") %>">
+ <div class="menu-item <%= phc_menu_active_action_controller("phcdevworks_press/article/posts", "Index") %>">
+ <%= link_to phcdevworks_press.article_posts_path, class: "menu-link" do %>
+ <div class="menu-text">All Articles</div>
+ <% end %>
+ </div>
+ <div class="menu-item <%= phc_menu_active_action_controller("phcdevworks_press/article/posts", "New") %>">
+ <%= link_to phcdevworks_press.new_article_post_path, class: "menu-link" do %>
+ <div class="menu-text">Add a New Article</div>
+ <% end %>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ <% end %>
+ <!-- -PHCDEV- Page Container - Sidebar - Navigation - PHCDevworks Press -->
+
+ <!-- -PHCDEV- Page Container - Sidebar - Navigation - PHCPress -->
+ <% if defined?phcpress %>
+ <div class="menu-header">CMS</div>
+ <div class="menu-item has-sub">
+ <a href="javascript:;" class="menu-link">
+ <div class="menu-icon"><i class="material-icons">newspaper</i></div>
+ <div class="menu-text">Blogging</div>
+ <div class="menu-caret"></div>
+ </a>
+ <div class="menu-submenu">
+ <div class="menu-item has-sub">
+ <a href="javascript:;" class="menu-link">
+ <div class="menu-text">Article Posts</div>
+ <div class="menu-caret"></div>
+ </a>
+ <div class="menu-submenu <%= phc_menu_active_controller("phcpress/article/posts") %>">
+ <div class="menu-item <%= phc_menu_active_action_controller("phcpress/article/posts", "Index") %>">
+ <%= link_to phcpress.article_posts_path, class: "menu-link" do %>
+ <div class="menu-text">All Articles</div>
+ <% end %>
+ </div>
+ <div class="menu-item <%= phc_menu_active_action_controller("phcpress/article/posts", "New") %>">
+ <%= link_to phcpress.new_article_post_path, class: "menu-link" do %>
+ <div class="menu-text">Add a New Article</div>
+ <% end %>
+ </div>
+ </div>
+ </div>
+ <div class="menu-item has-sub">
+ <a href="javascript:;" class="menu-link">
+ <div class="menu-text">Article Categories</div>
+ <div class="menu-caret"></div>
+ </a>
+ <div class="menu-submenu <%= phc_menu_active_controller("phcpress/article/categories") %>">
+ <div class="menu-item <%= phc_menu_active_action_controller("phcpress/article/categories", "Index") %>">
+ <%= link_to phcpress.article_categories_path, class: "menu-link" do %>
+ <div class="menu-text">All Categories</div>
+ <% end %>
+ </div>
+ <div class="menu-item <%= phc_menu_active_action_controller("phcpress/article/categories", "New") %>">
+ <%= link_to phcpress.new_article_category_path, class: "menu-link" do %>
+ <div class="menu-text">Add a New Category</div>
+ <% end %>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ <% end %>
+ <!-- -PHCDEV- Page Container - Sidebar - Navigation - PHCPress -->
+
+ <!-- -PHCDEV- Page Container - Sidebar - Navigation - PHCPress Pro -->
+ <% if defined?phcpresspro %>
+ <div class="menu-header">CMS</div>
+ <div class="menu-item has-sub">
+ <a href="javascript:;" class="menu-link">
+ <div class="menu-icon"><i class="material-icons">newspaper</i></div>
+ <div class="menu-text">Blogging</div>
+ <div class="menu-caret"></div>
+ </a>
+ <div class="menu-submenu">
+ <div class="menu-item has-sub">
+ <a href="javascript:;" class="menu-link">
+ <div class="menu-text">Article Posts</div>
+ <div class="menu-caret"></div>
+ </a>
+ <div class="menu-submenu <%= phc_menu_active_controller("phcpress/article/posts") %>">
+ <div class="menu-item <%= phc_menu_active_action_controller("phcpress/article/posts", "Index") %>">
+ <%= link_to phcpresspro.article_posts_path, class: "menu-link" do %>
+ <div class="menu-text">All Articles</div>
+ <% end %>
+ </div>
+ <div class="menu-item <%= phc_menu_active_action_controller("phcpress/article/posts", "New") %>">
+ <%= link_to phcpresspro.new_article_post_path, class: "menu-link" do %>
+ <div class="menu-text">Add a New Article</div>
+ <% end %>
+ </div>
+ </div>
+ </div>
+ <div class="menu-item has-sub">
+ <a href="javascript:;" class="menu-link">
+ <div class="menu-text">Article Categories</div>
+ <div class="menu-caret"></div>
+ </a>
+ <div class="menu-submenu <%= phc_menu_active_controller("phcpress/article/categories") %>">
+ <div class="menu-item <%= phc_menu_active_action_controller("phcpress/article/categories", "Index") %>">
+ <%= link_to phcpresspro.article_categories_path, class: "menu-link" do %>
+ <div class="menu-text">All Categories</div>
+ <% end %>
+ </div>
+ <div class="menu-item <%= phc_menu_active_action_controller("phcpress/article/categories", "New") %>">
+ <%= link_to phcpresspro.new_article_category_path, class: "menu-link" do %>
+ <div class="menu-text">Add a New Category</div>
+ <% end %>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ <% end %>
+ <!-- -PHCDEV- Page Container - Sidebar - Navigation - PHCPress Pro -->
+
+ <!-- -PHCDEV- Page Container - Sidebar - Navigation - PHCDevworks Portfolio -->
+ <% if defined?phcdevworks_portfolio %>
+ <div class="menu-header">PHCPortfolio</div>
+ <div class="menu-item has-sub">
+ <a href="javascript:;" class="menu-link">
+ <div class="menu-icon"><i class="material-icons">business_center</i></div>
+ <div class="menu-text">Portfolio & Projects</div>
+ <div class="menu-caret"></div>
+ </a>
+ <div class="menu-submenu">
+ <div class="menu-item has-sub">
+ <a href="javascript:;" class="menu-link">
+ <div class="menu-text">Project Portfolio</div>
+ <div class="menu-caret"></div>
+ </a>
+ <div class="menu-submenu <%= phc_menu_active_controller("phcdevworks_portfolio/project/posts") %>">
+ <div class="menu-item <%= phc_menu_active_action_controller("phcdevworks_portfolio/project/posts", "Index") %>">
+ <%= link_to phcdevworks_portfolio.project_posts_path, class: "menu-link" do %>
+ <div class="menu-text">Project Index</div>
+ <% end %>
+ </div>
+ <div class="menu-item <%= phc_menu_active_action_controller("phcdevworks_portfolio/project/posts", "New") %>">
+ <%= link_to phcdevworks_portfolio.new_project_post_path, class: "menu-link" do %>
+ <div class="menu-text">Add a New Project</div>
+ <% end %>
+ </div>
+ </div>
+ </div>
+ <div class="menu-item has-sub">
+ <a href="javascript:;" class="menu-link">
+ <div class="menu-text">Project Types</div>
+ <div class="menu-caret"></div>
+ </a>
+ <div class="menu-submenu <%= phc_menu_active_controller("phcdevworks_portfolio/project/types") %>">
+ <div class="menu-item <%= phc_menu_active_action_controller("phcdevworks_portfolio/project/types", "Index") %>">
+ <%= link_to phcdevworks_portfolio.project_types_path, class: "menu-link" do %>
+ <div class="menu-text">Project Types</div>
+ <% end %>
+ </div>
+ <div class="menu-item <%= phc_menu_active_action_controller("phcdevworks_portfolio/project/types", "New") %>">
+ <%= link_to phcdevworks_portfolio.new_project_type_path, class: "menu-link" do %>
+ <div class="menu-text">Add a New Project Type</div>
+ <% end %>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ <% end %>
+ <!-- -PHCDEV- Page Container - Sidebar - Navigation - PHCDevworks Portfolio -->
+
+ <!-- -PHCDEV- Page Container - Sidebar - Navigation - PHCDevworks RealEstate -->
+ <% if defined?phcdevworks_real_estate %>
+ <div class="menu-header">PHCRealEstate</div>
+ <div class="menu-item has-sub">
+ <a href="javascript:;" class="menu-link">
+ <div class="menu-icon"><i class="material-icons">holiday_village</i></div>
+ <div class="menu-text">Property Listings</div>
+ <div class="menu-caret"></div>
+ </a>
+ <div class="menu-submenu">
+ <div class="menu-item has-sub">
+ <a href="javascript:;" class="menu-link">
+ <div class="menu-text">Property Listings</div>
+ <div class="menu-caret"></div>
+ </a>
+ <div class="menu-submenu <%= phc_menu_active_controller("phcdevworks_real_estate/property/listings") %>">
+ <div class="menu-item <%= phc_menu_active_action_controller("phcdevworks_real_estate/property/listings", "Index") %>">
+ <%= link_to phcdevworks_real_estate.property_listings_path, class: "menu-link" do %>
+ <div class="menu-text">Property Listings</div>
+ <% end %>
+ </div>
+ <div class="menu-item <%= phc_menu_active_action_controller("phcdevworks_real_estate/property/listings", "New") %>">
+ <%= link_to phcdevworks_real_estate.new_property_listing_path, class: "menu-link" do %>
+ <div class="menu-text">Add a New Listing</div>
+ <% end %>
+ </div>
+ </div>
+ </div>
+ <div class="menu-item has-sub">
+ <a href="javascript:;" class="menu-link">
+ <div class="menu-text">Project Types</div>
+ <div class="menu-caret"></div>
+ </a>
+ <div class="menu-submenu <%= phc_menu_active_controller("phcdevworks_real_estate/property/features") %>">
+ <div class="menu-item <%= phc_menu_active_action_controller("phcdevworks_real_estate/property/features", "Index") %>">
+ <%= link_to phcdevworks_real_estate.property_features_path, class: "menu-link" do %>
+ <div class="menu-text">Property Features List</div>
+ <% end %>
+ </div>
+ <div class="menu-item <%= phc_menu_active_action_controller("phcdevworks_real_estate/property/features", "New") %>">
+ <%= link_to phcdevworks_real_estate.new_property_feature_path, class: "menu-link" do %>
+ <div class="menu-text">Add a New Property Feature</div>
+ <% end %>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ <% end %>
+ <!-- -PHCDEV- Page Container - Sidebar - Navigation - PHCDevworks RealEstate -->
+
+ <!-- -PHCDEV- Page Container - Sidebar - Navigation - PHCDevworks Scripts -->
+ <% if defined?phcdevworks_scripts %>
+ <div class="menu-header">PHCScripts</div>
+ <div class="menu-item has-sub">
+ <a href="javascript:;" class="menu-link">
+ <div class="menu-icon"><i class="material-icons">code</i></div>
+ <div class="menu-text">Script CDN Listing</div>
+ <div class="menu-caret"></div>
+ </a>
+ <div class="menu-submenu">
+ <div class="menu-item has-sub">
+ <a href="javascript:;" class="menu-link">
+ <div class="menu-text">Script Listing</div>
+ <div class="menu-caret"></div>
+ </a>
+ <div class="menu-submenu <%= phc_menu_active_controller("phcdevworks_scripts/script/listings") %>">
+ <div class="menu-item <%= phc_menu_active_action_controller("phcdevworks_scripts/script/listings", "Index") %>">
+ <%= link_to phcdevworks_scripts.script_listings_path, class: "menu-link" do %>
+ <div class="menu-text">Script Listings</div>
+ <% end %>
+ </div>
+ <div class="menu-item <%= phc_menu_active_action_controller("phcdevworks_scripts/script/listings", "New") %>">
+ <%= link_to phcdevworks_scripts.new_script_listing_path, class: "menu-link" do %>
+ <div class="menu-text">Add a New Listing</div>
+ <% end %>
+ </div>
+ </div>
+ </div>
+ <div class="menu-item has-sub">
+ <a href="javascript:;" class="menu-link">
+ <div class="menu-text">Script Listing Extras</div>
+ <div class="menu-caret"></div>
+ </a>
+ <div class="menu-submenu <%= phc_menu_active_controller("phcdevworks_scripts/script/authors") %>">
+ <div class="menu-item <%= phc_menu_active_action_controller("phcdevworks_scripts/script/authors", "Index") %>">
+ <%= link_to phcdevworks_scripts.script_authors_path, class: "menu-link" do %>
+ <div class="menu-text">Script Authors</div>
+ <% end %>
+ </div>
+ <div class="menu-item <%= phc_menu_active_action_controller("phcdevworks_scripts/script/extensions", "Index") %>">
+ <%= link_to phcdevworks_scripts.script_extensions_path, class: "menu-link" do %>
+ <div class="menu-text">Script Extensions</div>
+ <% end %>
+ </div>
+ <div class="menu-item <%= phc_menu_active_action_controller("phcdevworks_scripts/script/versions", "Index") %>">
+ <%= link_to phcdevworks_scripts.script_versions_path, class: "menu-link" do %>
+ <div class="menu-text">Script Versions</div>
+ <% end %>
+ </div>
+ </div>
+ </div>
+ <div class="menu-item has-sub">
+ <a href="javascript:;" class="menu-link">
+ <div class="menu-text">Code Snippets</div>
+ <div class="menu-caret"></div>
+ </a>
+ <div class="menu-submenu <%= phc_menu_active_controller("phcdevworks_scripts/snippet/posts") %>">
+ <div class="menu-item <%= phc_menu_active_action_controller("phcdevworks_scripts/snippet/posts", "Index") %>">
+ <%= link_to phcdevworks_scripts.snippet_posts_path, class: "menu-link" do %>
+ <div class="menu-text">Code Snippets</div>
+ <% end %>
+ </div>
+ <div class="menu-item <%= phc_menu_active_action_controller("phcdevworks_scripts/snippet/posts", "New") %>">
+ <%= link_to phcdevworks_scripts.new_snippet_post_path, class: "menu-link" do %>
+ <div class="menu-text">Add a New Code Snippet</div>
+ <% end %>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ <% end %>
+ <!-- -PHCDEV- Page Container - Sidebar - Navigation - PHCDevworks Scripts -->
+
+ <!-- -PHCDEV- Page Container - Sidebar - Navigation - PHC Script CDN -->
+ <% if defined?phcscriptcdn %>
+ <div class="menu-header">Script CDN</div>
+ <div class="menu-item has-sub">
+ <a href="javascript:;" class="menu-link">
+ <div class="menu-icon"><i class="material-icons">code</i></div>
+ <div class="menu-text">Script CDN Listing</div>
+ <div class="menu-caret"></div>
+ </a>
+ <div class="menu-submenu">
+ <div class="menu-item has-sub">
+ <a href="javascript:;" class="menu-link">
+ <div class="menu-text">Script Listing</div>
+ <div class="menu-caret"></div>
+ </a>
+ <div class="menu-submenu <%= phc_menu_active_controller("phcscriptcdn/script/listings") %>">
+ <div class="menu-item <%= phc_menu_active_action_controller("phcscriptcdn/script/listings", "Index") %>">
+ <%= link_to phcscriptcdn.script_listings_path, class: "menu-link" do %>
+ <div class="menu-text">Script Listings</div>
+ <% end %>
+ </div>
+ <div class="menu-item <%= phc_menu_active_action_controller("phcscriptcdn/script/listings", "New") %>">
+ <%= link_to phcscriptcdn.new_script_listing_path, class: "menu-link" do %>
+ <div class="menu-text">Add a New Listing</div>
+ <% end %>
+ </div>
+ </div>
+ </div>
+ <div class="menu-item has-sub">
+ <a href="javascript:;" class="menu-link">
+ <div class="menu-text">Script Listing Extras</div>
+ <div class="menu-caret"></div>
+ </a>
+ <div class="menu-submenu <%= phc_menu_active_controller("phcscriptcdn/script/authors") %>">
+ <div class="menu-item <%= phc_menu_active_action_controller("phcscriptcdn/script/authors", "Index") %>">
+ <%= link_to phcscriptcdn.script_authors_path, class: "menu-link" do %>
+ <div class="menu-text">Script Authors</div>
+ <% end %>
+ </div>
+ <div class="menu-item <%= phc_menu_active_action_controller("phcscriptcdn/script/extensions", "Index") %>">
+ <%= link_to phcscriptcdn.script_extensions_path, class: "menu-link" do %>
+ <div class="menu-text">Script Extensions</div>
+ <% end %>
+ </div>
+ <div class="menu-item <%= phc_menu_active_action_controller("phcscriptcdn/script/licences", "Index") %>">
+ <%= link_to phcscriptcdn.script_licences_path, class: "menu-link" do %>
+ <div class="menu-text">Script Licences</div>
+ <% end %>
+ </div>
+ <div class="menu-item <%= phc_menu_active_action_controller("phcscriptcdn/script/versions", "Index") %>">
+ <%= link_to phcscriptcdn.script_versions_path, class: "menu-link" do %>
+ <div class="menu-text">Script Versions</div>
+ <% end %>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ <% end %>
+ <!-- -PHCDEV- Page Container - Sidebar - Navigation - PHC Script CDN -->
+
+ <!-- -PHCDEV- Page Container - Sidebar - Navigation - PHC Script CDN Pro -->
+ <% if defined?phcscriptcdnpro %>
+ <div class="menu-header">Script CDN</div>
+ <div class="menu-item has-sub">
+ <a href="javascript:;" class="menu-link">
+ <div class="menu-icon"><i class="material-icons">code</i></div>
+ <div class="menu-text">Script CDN Listing</div>
+ <div class="menu-caret"></div>
+ </a>
+ <div class="menu-submenu">
+ <div class="menu-item has-sub">
+ <a href="javascript:;" class="menu-link">
+ <div class="menu-text">Script Listing</div>
+ <div class="menu-caret"></div>
+ </a>
+ <div class="menu-submenu <%= phc_menu_active_controller("phcscriptcdnpro/script/listings") %>">
+ <div class="menu-item <%= phc_menu_active_action_controller("phcscriptcdnpro/script/listings", "Index") %>">
+ <%= link_to phcscriptcdnpro.script_listings_path, class: "menu-link" do %>
+ <div class="menu-text">Script Listings</div>
+ <% end %>
+ </div>
+ <div class="menu-item <%= phc_menu_active_action_controller("phcscriptcdnpro/script/listings", "New") %>">
+ <%= link_to phcscriptcdnpro.new_script_listing_path, class: "menu-link" do %>
+ <div class="menu-text">Add a New Listing</div>
+ <% end %>
+ </div>
+ </div>
+ </div>
+ <div class="menu-item has-sub">
+ <a href="javascript:;" class="menu-link">
+ <div class="menu-text">Script Listing Extras</div>
+ <div class="menu-caret"></div>
+ </a>
+ <div class="menu-submenu <%= phc_menu_active_controller("phcscriptcdnpro/script/authors") %>">
+ <div class="menu-item <%= phc_menu_active_action_controller("phcscriptcdnpro/script/authors", "Index") %>">
+ <%= link_to phcscriptcdnpro.script_authors_path, class: "menu-link" do %>
+ <div class="menu-text">Script Authors</div>
+ <% end %>
+ </div>
+ <div class="menu-item <%= phc_menu_active_action_controller("phcscriptcdnpro/script/extensions", "Index") %>">
+ <%= link_to phcscriptcdnpro.script_extensions_path, class: "menu-link" do %>
+ <div class="menu-text">Script Extensions</div>
+ <% end %>
+ </div>
+ <div class="menu-item <%= phc_menu_active_action_controller("phcscriptcdnpro/script/licences", "Index") %>">
+ <%= link_to phcscriptcdnpro.script_licences_path, class: "menu-link" do %>
+ <div class="menu-text">Script Licences</div>
+ <% end %>
+ </div>
+ <div class="menu-item <%= phc_menu_active_action_controller("phcscriptcdnpro/script/versions", "Index") %>">
+ <%= link_to phcscriptcdnpro.script_versions_path, class: "menu-link" do %>
+ <div class="menu-text">Script Versions</div>
+ <% end %>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ <% end %>
+ <!-- -PHCDEV- Page Container - Sidebar - Navigation - PHC Script CDN Pro -->
+
+ <!-- -PHCDEV- Page Container - Sidebar - Navigation - PHC Code Snipper -->
+ <% if defined?phccodesnipper %>
+ <div class="menu-header">Code Snippets</div>
+ <div class="menu-item has-sub">
+ <a href="javascript:;" class="menu-link">
+ <div class="menu-icon"><i class="material-icons">code</i></div>
+ <div class="menu-text">Snippets</div>
+ <div class="menu-caret"></div>
+ </a>
+ <div class="menu-submenu">
+ <div class="menu-item has-sub">
+ <a href="javascript:;" class="menu-link">
+ <div class="menu-text">Scripts Snippets</div>
+ <div class="menu-caret"></div>
+ </a>
+ <div class="menu-submenu <%= phc_menu_active_controller("phccodesnipper/script/snippets") %>">
+ <div class="menu-item <%= phc_menu_active_action_controller("phccodesnipper/script/snippets", "Index") %>">
+ <%= link_to phccodesnipper.script_snippets_path, class: "menu-link" do %>
+ <div class="menu-text">All Script Snippets</div>
+ <% end %>
+ </div>
+ <div class="menu-item <%= phc_menu_active_action_controller("phccodesnipper/script/snippets", "New") %>">
+ <%= link_to phccodesnipper.new_script_snippet_path, class: "menu-link" do %>
+ <div class="menu-text">Add a New Snippets</div>
+ <% end %>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ <% end %>
+ <!-- -PHCDEV- Page Container - Sidebar - Navigation - PHC Code Snipper -->
+
+ <!-- -PHCDEV- Page Container - Sidebar - Navigation - PHC Code Snipper Pro -->
+ <% if defined?phccodesnipperpro %>
+ <div class="menu-header">Code Snippets</div>
+ <div class="menu-item has-sub">
+ <a href="javascript:;" class="menu-link">
+ <div class="menu-icon"><i class="material-icons">code</i></div>
+ <div class="menu-text">Snippets</div>
+ <div class="menu-caret"></div>
+ </a>
+ <div class="menu-submenu">
+ <div class="menu-item has-sub">
+ <a href="javascript:;" class="menu-link">
+ <div class="menu-text">Scripts Snippets</div>
+ <div class="menu-caret"></div>
+ </a>
+ <div class="menu-submenu <%= phc_menu_active_controller("phccodesnipperpro/script/snippets") %>">
+ <div class="menu-item <%= phc_menu_active_action_controller("phccodesnipperpro/script/snippets", "Index") %>">
+ <%= link_to phccodesnipperpro.script_snippets_path, class: "menu-link" do %>
+ <div class="menu-text">All Script Snippets</div>
+ <% end %>
+ </div>
+ <div class="menu-item <%= phc_menu_active_action_controller("phccodesnipperpro/script/snippets", "New") %>">
+ <%= link_to phccodesnipperpro.new_script_snippet_path, class: "menu-link" do %>
+ <div class="menu-text">Add a New Snippets</div>
+ <% end %>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ <% end %>
+ <!-- -PHCDEV- Page Container - Sidebar - Navigation - PHC Code Snipper Pro -->
+
+ <!-- -PHCDEV- Page Container - Sidebar - Navigation - PHCDevworks Tutorials -->
+ <% if defined?phcdevworks_tutorials %>
+ <div class="menu-header">PHCTutorials</div>
+ <div class="menu-item has-sub">
+ <a href="javascript:;" class="menu-link">
+ <div class="menu-icon"><i class="material-icons">school</i></div>
+ <div class="menu-text">Tutorials</div>
+ <div class="menu-caret"></div>
+ </a>
+ <div class="menu-submenu">
+ <div class="menu-item has-sub">
+ <a href="javascript:;" class="menu-link">
+ <div class="menu-text">Tutorials</div>
+ <div class="menu-caret"></div>
+ </a>
+ <div class="menu-submenu <%= phc_menu_active_controller("phcdevworks_tutorials/tutorials/posts") %>">
+ <div class="menu-item <%= phc_menu_active_action_controller("phcdevworks_tutorials/tutorials/posts", "Index") %>">
+ <%= link_to phcdevworks_tutorials.tutorial_posts_path, class: "menu-link" do %>
+ <div class="menu-text">Tutorial Index</div>
+ <% end %>
+ </div>
+ <div class="menu-item <%= phc_menu_active_action_controller("phcdevworks_tutorials/tutorials/posts", "New") %>">
+ <%= link_to phcdevworks_tutorials.new_tutorial_post_path, class: "menu-link" do %>
+ <div class="menu-text">Add a New Tutorial</div>
+ <% end %>
+ </div>
+ </div>
+ </div>
+ <div class="menu-item has-sub">
+ <a href="javascript:;" class="menu-link">
+ <div class="menu-text">Command Lists</div>
+ <div class="menu-caret"></div>
+ </a>
+ <div class="menu-submenu <%= phc_menu_active_controller("phcdevworks_tutorials/command/posts") %>">
+ <div class="menu-item <%= phc_menu_active_action_controller("phcdevworks_tutorials/command/posts", "Index") %>">
+ <%= link_to phcdevworks_tutorials.command_posts_path, class: "menu-link" do %>
+ <div class="menu-text">Command List Index</div>
+ <% end %>
+ </div>
+ <div class="menu-item <%= phc_menu_active_action_controller("phcdevworks_tutorials/command/posts", "New") %>">
+ <%= link_to phcdevworks_tutorials.new_command_post_path, class: "menu-link" do %>
+ <div class="menu-text">Add a New Command List</div>
+ <% end %>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ <% end %>
+ <!-- -PHCDEV- Page Container - Sidebar - Navigation - PHCDevworks Tutorials -->
+
+ <!-- -PHCDEV- Page Container - Sidebar - Navigation - PHCDevworks CoreModules -->
+ <% if defined?phcdevworks_core_modules %>
+ <div class="menu-header">Categories</div>
+ <div class="menu-item has-sub">
+ <a href="javascript:;" class="menu-link">
+ <div class="menu-icon"><i class="material-icons">view_list</i></div>
+ <div class="menu-text">Categories</div>
+ <div class="menu-caret"></div>
+ </a>
+ <div class="menu-submenu">
+ <div class="menu-item has-sub">
+ <a href="javascript:;" class="menu-link">
+ <div class="menu-text">Categories</div>
+ <div class="menu-caret"></div>
+ </a>
+ <div class="menu-submenu <%= phc_menu_active_controller("phcdevworks_core_modules/post/categories") %>">
+ <div class="menu-item <%= phc_menu_active_action_controller("phcdevworks_core_modules/post/categories", "Index") %>">
+ <%= link_to phcdevworks_core_modules.post_categories_path, class: "menu-link" do %>
+ <div class="menu-text">Category Index</div>
+ <% end %>
+ </div>
+ <div class="menu-item <%= phc_menu_active_action_controller("phcdevworks_core_modules/post/categories", "New") %>">
+ <%= link_to phcdevworks_core_modules.new_post_category_path, class: "menu-link" do %>
+ <div class="menu-text">Add a New Category</div>
+ <% end %>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ <div class="menu-header">Marketing</div>
+ <div class="menu-item has-sub">
+ <a href="javascript:;" class="menu-link">
+ <div class="menu-icon"><i class="material-icons">query_stats</i></div>
+ <div class="menu-text">Search Optimization</div>
+ <div class="menu-caret"></div>
+ </a>
+ <div class="menu-submenu">
+ <div class="menu-item has-sub">
+ <a href="javascript:;" class="menu-link">
+ <div class="menu-text">SEO Data</div>
+ <div class="menu-caret"></div>
+ </a>
+ <div class="menu-submenu <%= phc_menu_active_controller("phcdevworks_core_modules/post/categories") %>">
+ <div class="menu-item <%= phc_menu_active_action_controller("phcdevworks_core_modules/marketing/optimizations", "Index") %>">
+ <%= link_to phcdevworks_core_modules.marketing_optimizations_path, class: "menu-link" do %>
+ <div class="menu-text">SEO Data Index</div>
+ <% end %>
+ </div>
+ <div class="menu-item <%= phc_menu_active_action_controller("phcdevworks_core_modules/marketing/optimizations", "New") %>">
+ <%= link_to phcdevworks_core_modules.new_marketing_optimization_path, class: "menu-link" do %>
+ <div class="menu-text">Add New SEO Data</div>
+ <% end %>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ <div class="menu-item has-sub">
+ <a href="javascript:;" class="menu-link">
+ <div class="menu-icon"><i class="material-icons">link</i></div>
+ <div class="menu-text">Affiliate Linking</div>
+ <div class="menu-caret"></div>
+ </a>
+ <div class="menu-submenu">
+ <div class="menu-item has-sub">
+ <a href="javascript:;" class="menu-link">
+ <div class="menu-text">Affiliate Links</div>
+ <div class="menu-caret"></div>
+ </a>
+ <div class="menu-submenu <%= phc_menu_active_controller("phcdevworks_core_modules/affiliate/links") %>">
+ <div class="menu-item <%= phc_menu_active_action_controller("phcdevworks_core_modules/affiliate/links", "Index") %>">
+ <%= link_to phcdevworks_core_modules.affiliate_links_path, class: "menu-link" do %>
+ <div class="menu-text">Affiliate Link Index</div>
+ <% end %>
+ </div>
+ <div class="menu-item <%= phc_menu_active_action_controller("phcdevworks_core_modules/affiliate/links", "New") %>">
+ <%= link_to phcdevworks_core_modules.new_affiliate_link_path, class: "menu-link" do %>
+ <div class="menu-text">Add a New Affiliate Link</div>
+ <% end %>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ <% end %>
+ <!-- -PHCDEV- Page Container - Sidebar - Navigation - PHCDevworks CoreModules -->
+
+ <!-- -PHCDEV- Page Container - Sidebar - Navigation - PHCDevworks Accounts -->
+
+ <% if defined?phcdevworks_accounts_stripe and current_user.admin? %>
+ <div class="menu-header">Subscription Administration</div>
+ <div class="menu-item has-sub">
+ <a href="javascript:;" class="menu-link">
+ <div class="menu-icon"><i class="material-icons">payments</i></div>
+ <div class="menu-text">Stripe</div>
+ <div class="menu-caret"></div>
+ </a>
+ <div class="menu-submenu">
+ <div class="menu-item has-sub">
+ <a href="javascript:;" class="menu-link">
+ <div class="menu-text">Accounting</div>
+ <div class="menu-caret"></div>
+ </a>
+ <div class="menu-submenu <%= phc_menu_active_controller("phcdevworks_accounts_stripe/admin/subscriptions") %>">
+ <div class="menu-item <%= phc_menu_active_action_controller("phcdevworks_accounts_stripe/admin/subscriptions", "admin_subscription_list") %>">
+ <%= link_to phcdevworks_accounts_stripe.admin_invoices_path, class: "menu-link" do %>
+ <div class="menu-text">Invoices</div>
+ <% end %>
+ </div>
+ <div class="menu-item <%= phc_menu_active_action_controller("phcdevworks_accounts_stripe/admin/subscriptions", "admin_subscription_list") %>">
+ <%= link_to phcdevworks_accounts_stripe.admin_subscriptions_path, class: "menu-link" do %>
+ <div class="menu-text">Subscriptions</div>
+ <% end %>
+ </div>
+ </div>
+ </div>
+ <div class="menu-item has-sub">
+ <a href="javascript:;" class="menu-link">
+ <div class="menu-text">Services & Products</div>
+ <div class="menu-caret"></div>
+ </a>
+ <div class="menu-submenu <%= phc_menu_active_controller("phcdevworks_accounts_stripe/admin/products") %>">
+ <div class="menu-item <%= phc_menu_active_action_controller("phcdevworks_accounts_stripe/admin/products", "admin_products_list") %>">
+ <%= link_to phcdevworks_accounts_stripe.admin_products_path, class: "menu-link" do %>
+ <div class="menu-text">Product List</div>
+ <% end %>
+ </div>
+ </div>
+ </div>
+ <div class="menu-item has-sub">
+ <a href="javascript:;" class="menu-link">
+ <div class="menu-text">Subscribers</div>
+ <div class="menu-caret"></div>
+ </a>
+ <div class="menu-submenu <%= phc_menu_active_controller("phcdevworks_accounts_stripe/admin/customers") %>">
+ <div class="menu-item <%= phc_menu_active_action_controller("phcdevworks_accounts_stripe/admin/customers", "admin_customer_list") %>">
+ <%= link_to phcdevworks_accounts_stripe.admin_customers_path, class: "menu-link" do %>
+ <div class="menu-text">Subscriber List</div>
+ <% end %>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ <% end %>
+ <% if current_user and current_user.admin? %>
+ <div class="menu-header">Login Administration</div>
+ <div class="menu-item has-sub">
+ <a href="javascript:;" class="menu-link">
+ <div class="menu-icon"><i class="material-icons">admin_panel_settings</i></div>
+ <div class="menu-text">Auth Administration</div>
+ <div class="menu-caret"></div>
+ </a>
+ <div class="menu-submenu">
+ <div class="menu-item has-sub">
+ <a href="javascript:;" class="menu-link">
+ <div class="menu-text">Users</div>
+ <div class="menu-caret"></div>
+ </a>
+ <div class="menu-submenu <%= phc_menu_active_controller("phcdevworks_accounts_devise/admin/users") %>">
+ <div class="menu-item <%= phc_menu_active_action_controller("phcdevworks_accounts_devise/admin/users", "admin_subscription_list") %>">
+ <%= link_to phcdevworks_accounts_devise.admin_users_all_path, class: "menu-link" do %>
+ <div class="menu-text">User List</div>
+ <% end %>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ <% end %>
+ <!-- -PHCDEV- Page Container - Sidebar - Navigation - PHCDevworks Accounts -->
+
+ </div>
+</div>
+<!-- -PHCDEV- Page Container - Sidebar -->