From 54db98a9cf71d5f79379ab83c12474a688f0d5ae Mon Sep 17 00:00:00 2001 From: cel Date: Wed, 23 Jan 2019 13:00:07 -1000 Subject: Add about-diff page --- lib/render-msg.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'lib/render-msg.js') diff --git a/lib/render-msg.js b/lib/render-msg.js index e40934e..fbaf741 100644 --- a/lib/render-msg.js +++ b/lib/render-msg.js @@ -175,7 +175,10 @@ RenderMsg.prototype.actions = function (mini) { }.bind(this)) : '', this.c.type === 'edit' ? [ h('a', {href: this.toUrl('/edit-diff/' + encodeURIComponent(this.msg.key)), - title: 'view post edit diff'}, 'diff'), ' '] : '', + title: 'view post edit diff'}, 'diff'), ' '] : + this.c.type === 'about' && typeof this.c.description === 'string' ? [ + h('a', {href: this.toUrl('/about-diff/' + encodeURIComponent(this.msg.key)), + title: 'view about description diff'}, 'diff'), ' '] : '', this.c.type === 'gathering' ? [ h('a', {href: this.render.toUrl('/about/' + encodeURIComponent(this.msg.key))}, 'about'), ' '] : '', this.c.type === 'ssb-igo' && (lastMove = this.c.values[0] && this.c.values[0].lastMove) ? [ -- cgit v1.2.3