X-Git-Url: https://git.squeep.com/?a=blobdiff_plain;ds=inline;f=src%2Ftemplate%2Fadmin-topic-details-html.js;h=2b9a1af7fb44400768ffa9e416084651a034c525;hb=refs%2Ftags%2Fv1.3.5;hp=e03918910d935f98f9c70f6cd1720d5d545b8f59;hpb=afc5da271215282fa723e79a12562d3b86734326;p=websub-hub
diff --git a/src/template/admin-topic-details-html.js b/src/template/admin-topic-details-html.js
index e039189..2b9a1af 100644
--- a/src/template/admin-topic-details-html.js
+++ b/src/template/admin-topic-details-html.js
@@ -14,7 +14,7 @@ const th = require('./template-helper');
*/
module.exports = (ctx, options) => {
const pageTitle = `${options.manager.pageTitle} - Topic Details`;
- const headElements = [];
+ const logoUrl = options.manager.logoUrl;
const navLinks = [
{
href: '..',
@@ -25,7 +25,16 @@ module.exports = (ctx, options) => {
if (!ctx.subscriptions) {
ctx.subscriptions = [];
}
- return th.htmlTemplate(ctx, 2, pageTitle, headElements, navLinks, [
+
+ const htmlOptions = {
+ pageTitle,
+ logoUrl,
+ navLinks,
+ footerEntries,
+ };
+
+ const content = [
+ '', // This fixes a layout rendering flash on load in FF; do not know why this works but it does.
`
`,
@@ -47,5 +56,7 @@ module.exports = (ctx, options) => {
`
`,
- ], footerEntries);
+ ];
+
+ return th.htmlPage(2, ctx, htmlOptions, content);
};
\ No newline at end of file