X-Git-Url: http://git.squeep.com/?a=blobdiff_plain;f=src%2Ftemplate%2Fadmin-topic-details-html.js;h=abf441adfe8178d5d2a1104e0b848791fc023c16;hb=737fbd003d5c4dfea81b667ef906f1c106a60612;hp=0c281e48086ef4514ea75996ec62577b0823d66d;hpb=3c547e314b79a31fb3f15412a47707a22dc3eefd;p=websub-hub diff --git a/src/template/admin-topic-details-html.js b/src/template/admin-topic-details-html.js index 0c281e4..abf441a 100644 --- a/src/template/admin-topic-details-html.js +++ b/src/template/admin-topic-details-html.js @@ -34,7 +34,6 @@ module.exports = (ctx, options) => { }; const content = [ - '', // This fixes a layout rendering flash on load in FF; do not know why this works but it does. `
`, @@ -45,6 +44,10 @@ module.exports = (ctx, options) => { `
`, + `
+

Topic Publish History — ${ctx.publishCount} updates in the last ${ctx.publishSpan} days

+ +
`, `

${ctx.subscriptions.length ? ctx.subscriptions.length : 'no'} subscription${(ctx.subscriptions.length === 1) ? '' : 's'}

@@ -58,5 +61,5 @@ module.exports = (ctx, options) => { `, ]; - return th.htmlPage(2, htmlOptions, content); + return th.htmlPage(2, ctx, htmlOptions, content); }; \ No newline at end of file