From 6b449181d27090b5e23b1cead0fdc473f83228c2 Mon Sep 17 00:00:00 2001 From: Brad Rydzewski Date: Tue, 10 May 2016 19:23:59 -0700 Subject: [PATCH] display error in UI when signature exists but invalid --- template/amber/build.amber | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/template/amber/build.amber b/template/amber/build.amber index 32161bafc..3ff2d60e9 100644 --- a/template/amber/build.amber +++ b/template/amber/build.amber @@ -75,6 +75,12 @@ block content button.btn.btn-info.hidden#cancel cancel div.col-md-8 + if Build.Signed + if Build.Verified + noscript + else + div.alert.alert-warning + | Your .drone.yml.sig file did not match your .drone.yml if Job.Error != "" div.alert.alert-danger #{Job.Error} else