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.js5
1 files changed, 4 insertions, 1 deletions
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) ? [