3 const th
= require('./template-helper');
9 * @param {Object} ctx.session
10 * @param {String=} ctx.session.error
11 * @param {String[]=} ctx.session.errorDescriptions
12 * @param {Object} options
13 * @param {Object} options.manager
14 * @param {String} options.manager.pageTitle
15 * @param {String} options.manager.footerEntries
18 module
.exports
= (ctx
, options
) => {
20 pageTitle: options
.manager
.pageTitle
,
21 logoUrl: options
.manager
.logoUrl
,
22 footerEntries: options
.manager
.footerEntries
,
23 errorContent: ctx
.errorContent
|| ['Unknown Error'],
25 return th
.htmlPage(0, ctx
, htmlOptions
, []);