projects
/
squeep-indie-auther
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
update depedencies, changes to support updated authentication-module
[squeep-indie-auther]
/
src
/
template
/
admin-html.js
diff --git
a/src/template/admin-html.js
b/src/template/admin-html.js
index a6a83a0629f3219fc4b7f2ea59965966494f3e33..4fee8e74298e9de7fc22713f700060f1f87d2a9d 100644
(file)
--- a/
src/template/admin-html.js
+++ b/
src/template/admin-html.js
@@
-7,6
+7,7
@@
*/
const th = require('./template-helper');
*/
const th = require('./template-helper');
+const { sessionNavLinks } = require('@squeep/authentication-module');
function renderProfileLI(profile) {
function renderProfileLI(profile) {
@@
-196,17
+197,15
@@
${tokenTable(ctx.tokens)}
* @returns {String}
*/
module.exports = (ctx, options) => {
* @returns {String}
*/
module.exports = (ctx, options) => {
+ const pagePathLevel = 1;
const htmlOptions = {
const htmlOptions = {
- pageTitle: options.manager.pageTitle,
+ pageIdentifier: 'admin',
+ pageTitle: options.manager.pageTitle + ' - Admin',
logoUrl: options.manager.logoUrl,
footerEntries: options.manager.footerEntries,
logoUrl: options.manager.logoUrl,
footerEntries: options.manager.footerEntries,
- navLinks: [
- {
- text: 'Ticket',
- href: 'ticket',
- },
- ],
};
};
+ th.navLinks(pagePathLevel, ctx, htmlOptions);
+ sessionNavLinks(1, ctx, htmlOptions);
const content = [
mainContent(ctx),
];
const content = [
mainContent(ctx),
];