X-Git-Url: http://git.squeep.com/?a=blobdiff_plain;f=src%2Ftemplate%2Fadmin-overview-html.js;h=a8efef3bb5c7d77cbe9cdd070e0a645008297414;hb=refs%2Ftags%2Fv1.3.0;hp=b86f7af600e741e25805a89923f2a898d1127161;hpb=9696c012e6b9a6c58904baa397ca0ebf78112316;p=websub-hub diff --git a/src/template/admin-overview-html.js b/src/template/admin-overview-html.js index b86f7af..a8efef3 100644 --- a/src/template/admin-overview-html.js +++ b/src/template/admin-overview-html.js @@ -15,10 +15,11 @@ module.exports = (ctx, options) => { const pageTitle = `${options.manager.pageTitle} - Topics`; const headElements = []; const navLinks = []; + const footerEntries = options.manager.footerEntries; if (!ctx.topics) { ctx.topics = []; } - return th.htmlTemplate(1, pageTitle, headElements, navLinks, [ + return th.htmlTemplate(ctx, 1, pageTitle, headElements, navLinks, [ `

${ctx.topics.length ? ctx.topics.length : 'no'} topic${(ctx.topics.length === 1) ? '' : 's'}

@@ -30,5 +31,5 @@ module.exports = (ctx, options) => { `
`, - ]); + ], footerEntries); }; \ No newline at end of file