projects
/
websub-hub
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
IndieAuth login support, allows viewing of topics related to profile
[websub-hub]
/
src
/
template
/
admin-topic-details-html.js
diff --git
a/src/template/admin-topic-details-html.js
b/src/template/admin-topic-details-html.js
index df13f210f7af70c2686b3955ee3d744f4b2b43db..e03918910d935f98f9c70f6cd1720d5d545b8f59 100644
(file)
--- a/
src/template/admin-topic-details-html.js
+++ b/
src/template/admin-topic-details-html.js
@@
-25,14
+25,14
@@
module.exports = (ctx, options) => {
if (!ctx.subscriptions) {
ctx.subscriptions = [];
}
if (!ctx.subscriptions) {
ctx.subscriptions = [];
}
- return th.htmlTemplate(2, pageTitle, headElements, navLinks, [
+ return th.htmlTemplate(
ctx,
2, pageTitle, headElements, navLinks, [
` <section class="topics">
<table>
<thead>`,
th.renderTopicRowHeader(),
` </thead>
<tbody>`,
` <section class="topics">
<table>
<thead>`,
th.renderTopicRowHeader(),
` </thead>
<tbody>`,
- ...(ctx.topic && [ th.renderTopicRow(ctx.topic, ctx.subscriptions, false) ]),
+ ...(ctx.topic && [ th.renderTopicRow(ctx.topic, ctx.subscriptions, false) ]
|| []
),
` </tbody>
</table>
</section>`,
` </tbody>
</table>
</section>`,