summaryrefslogtreecommitdiffstats
path: root/app/common/directives/certificate.html
diff options
context:
space:
mode:
Diffstat (limited to 'app/common/directives/certificate.html')
-rw-r--r--app/common/directives/certificate.html12
1 files changed, 11 insertions, 1 deletions
diff --git a/app/common/directives/certificate.html b/app/common/directives/certificate.html
index cf7b46d..86d0dc7 100644
--- a/app/common/directives/certificate.html
+++ b/app/common/directives/certificate.html
@@ -39,7 +39,10 @@
<div class="certificate__date-cell">
{{cert.ValidNotAfter | date:medium}}
</div>
- <div class="certificate__buttons-cell">
+ <div class="certificate__title-inline">
+ Actions:
+ </div>
+ <div class="certificate__buttons-cell row">
<button
type="button"
ng-click="cert.upload = true"
@@ -47,6 +50,13 @@
class="btn btn-tertiary certificate__button">
<icon file="icon-replace.svg" aria-hidden="true"></icon>
</button>
+ <button type="button"
+ ng-click="confirmDeleteCert(cert)"
+ aria-label="Delete certificate"
+ class="btn btn-tertiary certificate__button"
+ ng-disabled="!isDeletable(cert)">
+ <icon file="icon-trashcan.svg" aria-hidden="true"></icon>
+ </button>
</div>
<div ng-show="cert.upload === true" class="upload__certificate">
<div class="close-btn">
OpenPOWER on IntegriCloud