aboutsummaryrefslogtreecommitdiff
path: root/lib/render-msg.js
diff options
context:
space:
mode:
authorcel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519>2017-05-04 11:03:16 -1000
committercel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519>2017-05-04 12:21:14 -1000
commit7570f001cc8ddeff88ebdab640e06a0b1b03974c (patch)
treec8394624a998ea5823dec79656ccc2e4f8c3c8c9 /lib/render-msg.js
parent49d72723ed74ac04099a46e2aae2ef68432ba210 (diff)
downloadpatchfoo-7570f001cc8ddeff88ebdab640e06a0b1b03974c.tar.gz
patchfoo-7570f001cc8ddeff88ebdab640e06a0b1b03974c.zip
wip: about
Diffstat (limited to 'lib/render-msg.js')
-rw-r--r--lib/render-msg.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/render-msg.js b/lib/render-msg.js
index 2a0e7df..931b7a6 100644
--- a/lib/render-msg.js
+++ b/lib/render-msg.js
@@ -149,6 +149,8 @@ RenderMsg.prototype.actions = function () {
this.msg.rel ? [this.msg.rel, ' '] : '',
this.opts.withGt && this.msg.timestamp ? [
h('a', {href: '?gt=' + this.msg.timestamp}, '↓'), ' '] : '',
+ this.c.type === 'gathering' ? [
+ h('a', {href: this.render.toUrl('/about/' + encodeURIComponent(this.msg.key))}, 'about'), ' '] : '',
h('a', {href: this.toUrl(this.msg.key) + '?raw'}, 'raw'), ' ',
this.voteFormInner('dig')
) : [