aboutsummaryrefslogtreecommitdiff
path: root/lib/render-msg.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/render-msg.js')
-rw-r--r--lib/render-msg.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/render-msg.js b/lib/render-msg.js
index f4486a7..329a942 100644
--- a/lib/render-msg.js
+++ b/lib/render-msg.js
@@ -574,6 +574,7 @@ var knownAboutProps = {
genre: true,
series: true,
seriesNo: true,
+ publicWebHosting: true,
'talenet-version': true,
}
@@ -631,6 +632,7 @@ RenderMsg.prototype.about = function (cb) {
// if this about message gives the thing a name, show its id
var showComputedName = !isSelf && !this.c.name
var target = this.c.about
+ var pwh = this.c.publicWebHosting
this.wrap([
this.c.root && this.c.root !== target ? h('div',
@@ -680,6 +682,13 @@ RenderMsg.prototype.about = function (cb) {
src: this.render.imageUrl(img),
alt: ' ',
})) : '',
+ typeof pwh !== 'undefined' ? h('div', h('em',
+ {title: 'publicWebHosting'},
+ pwh === true || pwh === 'true' ? 'public web hosting okay' :
+ pwh === false ? 'no public web hosting' :
+ pwh === null ? 'default public web hosting' :
+ 'public web hosting: ' + pwh
+ )) : '',
extras ? this.valueTable(extras, 1, done())
: ''
], elCb)