Skip to main content
HR Help Center
Toggle navigation menu
IT Help Center
Community
Submit a request
Sign in
Categories
First Watch HR
Community
General Discussion
General Discussion
Show answered
All
Planned
Not planned
Completed
Answered
No status
Sort by newest post
Newest post
Recent activity
Votes
Comments
Is anyone else having this issue?
Answered
Scooby Doo
October 09, 2024 21:19
0
votes
1
comment
Didn't find what you were looking for?
New post
Popular searches:
Didn't find what you were looking for?
We're happy to help!
Contact us
<% if (categories.length) { %> <% categories.forEach(function(category, index) { %>
<%= category.name %>
<% if (category.sections.length) { %>
<% category.sections.forEach(function(section, index) { %>
<%= section.name %>
<% }) %>
<% } %> <% }) %> <% } %>
Categories
<% categories.forEach(function(category, index) { %>
<%= category.name %>
<%= partial('partial-article-list-sections', { id: 'category-' + category.id, parentId: '#sidebar-navigation', sections: category.sections, activeCategoryId: activeCategoryId, activeSectionId: activeSectionId, activeArticleId: activeArticleId, partial: partial }) %>
<% }); %>
<% var maxSections = 5 %>
Toggle navigation menu
<% categories.forEach(function(category, index) { %>
<%= category.name %>
<%= partial('partial-section-list-sections', { parent: category, sections: category.sections, maxSections: maxSections, partial: partial }) %>
<% }); %>
Categories
Categories
<% categories.forEach(function(category) { %>
<%= category.name %>
<% }); %>
<% if (sections.length) { %>
<% sections.forEach(function(section) { %>
<%= section.name %>
<%= partial('partial-article-list-sections', { id: 'section-' + section.id, parentId: '#' + id, sections: section.sections, activeCategoryId: activeCategoryId, activeSectionId: activeSectionId, activeArticleId: activeArticleId, partial: partial }) %> <% if (section.articles.length) { %>
<% section.articles.forEach(function(article) { %>
<%= article.title %>
<% }); %>
<% } %>
<% }); %>
<% } %>
<% if (sections.length) { %>
<% sections.slice(0, maxSections).forEach(function(section) { %>
<%= section.name %>
<%= partial('partial-section-list-sections', { parent: section, sections: section.sections, maxSections: maxSections, partial: partial }) %>
<% }); %> <% if (sections.length > maxSections) { %>
See more
<% } %>
<% } %>
Powered by Zendesk