aboutsummaryrefslogtreecommitdiff
path: root/lib/render-msg.js
diff options
context:
space:
mode:
authorcel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519>2019-01-12 10:52:47 -1000
committercel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519>2019-01-12 10:52:47 -1000
commit0da3e21c2cba5bdc6fc78087845c68e52cf6168e (patch)
tree1f625a11221a5743cd25a70d3378823d75784c8a /lib/render-msg.js
parenta130219a5e677f23853cfe0c1f36fc0810fc2c9c (diff)
downloadpatchfoo-0da3e21c2cba5bdc6fc78087845c68e52cf6168e.tar.gz
patchfoo-0da3e21c2cba5bdc6fc78087845c68e52cf6168e.zip
Render publicWebHosting in compound about message
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)