'use strict';
const th = require('./template-helper');
+const { sessionNavLinks } = require('@squeep/authentication-module');
/**
* Show a summary of all topics.
* @returns {string} html
*/
module.exports = (ctx, options) => {
+ const pagePathLevel = 1;
const pageTitle = `${options.manager.pageTitle} - Topics`;
const logoUrl = options.manager.logoUrl;
const footerEntries = options.manager.footerEntries;
}
const htmlOptions = {
+ pageIdentifier: 'admin',
pageTitle,
logoUrl,
footerEntries,
};
+ th.navLinks(pagePathLevel, ctx, htmlOptions);
+ sessionNavLinks(pagePathLevel, ctx, htmlOptions);
const content = [
` <section class="topics">
</section>`,
];
- return th.htmlPage(1, ctx, htmlOptions, content);
+ return th.htmlPage(pagePathLevel, ctx, htmlOptions, content);
};
\ No newline at end of file