From f64dd61212b582c8f8a60714955e568ee7a6c0fe Mon Sep 17 00:00:00 2001 From: cel Date: Sun, 28 Oct 2018 14:51:21 -1000 Subject: Render branch property of about messages --- lib/render-msg.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/render-msg.js b/lib/render-msg.js index 90fa5a0..56db7d9 100644 --- a/lib/render-msg.js +++ b/lib/render-msg.js @@ -535,6 +535,7 @@ function dateTime(d) { var knownAboutProps = { type: true, root: true, + branch: true, about: true, attendee: true, about: true, @@ -614,8 +615,11 @@ RenderMsg.prototype.about = function (cb) { this.wrap([ this.c.root ? h('div', - h('small', '> ', this.link1(this.c.root, done())) + h('small', '→ ', this.link1(this.c.root, done())) ) : '', + u.toArray(this.c.branch).map(function (id) { + return h('div', h('small', '  ↳', this.link1(id, done()))) + }.bind(this)), isSelf ? 'self-describes as ' : [ this.c.review ? 'reviews' : 'describes', ' ', !this.c.about ? '' -- cgit v1.2.3