Hopp til hovedinnholdet
Aktiver/deaktiver navigasjonsmeny
Nettsamfunn
Send oss en henvendelse
Logg på
Betaling
Kundelab hjelpsenter
Betaling
Betalingsalternativer
Hvordan fungerer Klarna faktura?
Hvilke betalingsmetoder tilbyr dere?
Tekniske problemer
Hva gjør jeg hvis betalingen ikke går gjennom?
Sikkerhet og dokumentasjon
Er betalingen min sikker?
<% 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
<% } %>
<% } %>
<% }); %>
<% } %>