From 0da3e21c2cba5bdc6fc78087845c68e52cf6168e Mon Sep 17 00:00:00 2001 From: cel Date: Sat, 12 Jan 2019 10:52:47 -1000 Subject: Render publicWebHosting in compound about message --- lib/render-msg.js | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'lib') 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) -- cgit v1.2.3