Hopp til hovedinnholdet
Aktiver/deaktiver navigasjonsmeny
Nettsamfunn
Send oss en henvendelse
Logg på
Frakt og leveranse
Kundelab hjelpsenter
Frakt og leveranse
Levering
Når blir min bestilling sendt?
Kan jeg velge leveringstidspunkt?
Hvor lang er leveringstiden?
Hvilke fraktalternativer tilbyr dere?
Spor bestilling
Hvor er min bestilling?
Pakken er merket som levert, men jeg har ikke fått den
Jeg har ikke mottatt pakken min
<% var sectionIds = sections .filter(function(section) { if (typeof categoryId !== undefined) { return section['category_id'] == categoryId; } return true; }) .map(function(section) { return section.id }); var promotedArticles = articles.filter(function(article) { return article.promoted && sectionIds.indexOf(article.section_id) !== -1; }) %> <% if (promotedArticles.length) { %>
Ofte stilte spørsmål
<%= partial('article-list-partial-general', { articles: promotedArticles }) %>
<% } %>
<% if (articles.length) { %>
<% articles.forEach(function(article) { %>
<%= article.title %>
<% }); %>
<% } %>
<% if (articles.length) { %>
<% articles.forEach(function(article) { %>
<%= article.title %>
<%= Util.getExcerpt(article.body, 0) %>
<% }) %>
<% } else { %>
tom
<% } %>
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 activeCategory = categories.filter(function(category) { return category.isActive; })[0] || null; %> <% if (typeof maxArticles === 'undefined' || !maxArticles) maxArticles = 5; %> <% if (activeCategory && activeCategory.sections.length) { %>
Aktiver/deaktiver navigasjonsmeny
<% activeCategory.sections.forEach(function(section) { %>
<%= section.name %>
<%= partial('partial-section-list-sections', { id: 'section-' + section.id, parentId: 'section-' + section.id, sections: section.sections, activeCategoryId: activeCategoryId, activeSectionId: activeSectionId, activeArticleId: activeArticleId, maxArticles: maxArticles, partial: partial }) %> <% if (section.articles.length) { %>
<% section.articles.slice(0, maxArticles).forEach(function(article) { %>
<%= article.title %>
<% }); %> <% if (section.articles.length > maxArticles) { %>
Se alle artikler
<% } %>
<% } %>
<% }); %>
<% } %>
Kategorier
Kategorier
<% 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.forEach(function(section) { %>
<%= section.name %>
<%= partial('partial-section-list-sections', { id: 'section-' + section.id, parentId: '#' + id, sections: section.sections, activeCategoryId: activeCategoryId, activeSectionId: activeSectionId, activeArticleId: activeArticleId, maxArticles: maxArticles, partial: partial }) %> <% if (section.articles.length) { %>
<% section.articles.slice(0, maxArticles).forEach(function(article) { %>
<%= article.title %>
<% }); %> <% if (section.articles.length > maxArticles) { %>
Se alle artikler
<% } %>
<% } %>
<% }); %>
<% } %>