Hopp til hovedinnholdet
Aktiver/deaktiver navigasjonsmeny
Home
Logg på
Kategorier
Søk
Emner i nettsamfunnet
Vis emner
Vis alle innlegg
Feature Requests
1 innlegg
1 følger
General Discussion
4 innlegg
1 følger
Aktuelle innlegg
Feature a post
Finner du ikke det du leter etter?
Nytt innlegg
Have more questions?
Submit a request
Kategorier
<% 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 = 12 %>
Aktiver/deaktiver navigasjonsmeny
<% categories.forEach(function(category, index) { %>
<%= category.name %>
<%= partial('partial-section-list-sections', { parent: category, sections: category.sections, maxSections: maxSections, partial: partial }) %>
<% }); %>
Kategorier
Kategorier
<% categories.forEach(function(category) { %>
<%= category.name %> <% if (category.isActive) { %>
<% } %>
<% }); %>
<% 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 %> <% if (section.isActive) { %>
<% } %>
<%= partial('partial-section-list-sections', { parent: section, sections: section.sections, maxSections: maxSections, partial: partial }) %>
<% }); %> <% if (sections.length > maxSections) { %>
Se mer
<% } %>
<% } %>