diff options
author | cel <cel@lOUVT+Phkvai9a/cCS/RKo+S9hnPAQdVixms/7ldpPA=.ed25519> | 2020-10-13 19:08:31 -0400 |
---|---|---|
committer | cel <cel@lOUVT+Phkvai9a/cCS/RKo+S9hnPAQdVixms/7ldpPA=.ed25519> | 2020-10-13 19:08:31 -0400 |
commit | e2f98e11f07c6f773bfabd689bcc74d8ce3de80b (patch) | |
tree | 4ff12f1b29f7454d1077fb18414ddc9fc102f838 /lib/render-msg.js | |
parent | f4df0f3db34f03cb48c9b02771de7a4d2ac7af0b (diff) | |
download | patchfoo-e2f98e11f07c6f773bfabd689bcc74d8ce3de80b.tar.gz patchfoo-e2f98e11f07c6f773bfabd689bcc74d8ce3de80b.zip |
Render patchboot revocations
Diffstat (limited to 'lib/render-msg.js')
-rw-r--r-- | lib/render-msg.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/render-msg.js b/lib/render-msg.js index 021d817..76bcfad 100644 --- a/lib/render-msg.js +++ b/lib/render-msg.js @@ -718,6 +718,13 @@ RenderMsg.prototype.about = function (cb) { ], cb) } + if (keys === 'status' && this.c.status === 'revoked') { + return this.wrapMini([ + 'revoked ', + h('a', {href: this.toUrl(this.c.about)}, u.truncate(this.c.about, 10)) + ], cb) + } + var done = multicb({pluck: 1, spread: true}) var elCb = done() |