aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorcel <cel@lOUVT+Phkvai9a/cCS/RKo+S9hnPAQdVixms/7ldpPA=.ed25519>2020-10-13 19:08:31 -0400
committercel <cel@lOUVT+Phkvai9a/cCS/RKo+S9hnPAQdVixms/7ldpPA=.ed25519>2020-10-13 19:08:31 -0400
commite2f98e11f07c6f773bfabd689bcc74d8ce3de80b (patch)
tree4ff12f1b29f7454d1077fb18414ddc9fc102f838 /lib
parentf4df0f3db34f03cb48c9b02771de7a4d2ac7af0b (diff)
downloadpatchfoo-e2f98e11f07c6f773bfabd689bcc74d8ce3de80b.tar.gz
patchfoo-e2f98e11f07c6f773bfabd689bcc74d8ce3de80b.zip
Render patchboot revocations
Diffstat (limited to 'lib')
-rw-r--r--lib/render-msg.js7
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()