From e2f98e11f07c6f773bfabd689bcc74d8ce3de80b Mon Sep 17 00:00:00 2001 From: cel Date: Tue, 13 Oct 2020 19:08:31 -0400 Subject: Render patchboot revocations --- lib/render-msg.js | 7 +++++++ 1 file changed, 7 insertions(+) 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() -- cgit v1.2.3