X-Git-Url: http://git.squeep.com/?a=blobdiff_plain;f=src%2Ftemplate%2Fadmin-topic-details-html.js;h=e03918910d935f98f9c70f6cd1720d5d545b8f59;hb=e14c942f3588505f80d46b2d6a6c4a5b486ca12d;hp=448de09efdb369a346deff79cffbaa5f307c11c7;hpb=9696c012e6b9a6c58904baa397ca0ebf78112316;p=websub-hub diff --git a/src/template/admin-topic-details-html.js b/src/template/admin-topic-details-html.js index 448de09..e039189 100644 --- a/src/template/admin-topic-details-html.js +++ b/src/template/admin-topic-details-html.js @@ -21,17 +21,18 @@ module.exports = (ctx, options) => { text: '↑ All Topics', }, ]; + const footerEntries = options.manager.footerEntries; if (!ctx.subscriptions) { ctx.subscriptions = []; } - return th.htmlTemplate(2, pageTitle, headElements, navLinks, [ + return th.htmlTemplate(ctx, 2, pageTitle, headElements, navLinks, [ `
`, th.renderTopicRowHeader(), ` `, - ...(ctx.topic && [ th.renderTopicRow(ctx.topic, ctx.subscriptions, false) ]), + ...(ctx.topic && [ th.renderTopicRow(ctx.topic, ctx.subscriptions, false) ] || []), `
`, @@ -46,5 +47,5 @@ module.exports = (ctx, options) => { ` `, - ]); + ], footerEntries); }; \ No newline at end of file