summaryrefslogtreecommitdiff
path: root/app/views/profiles/gpg_keys/_email_with_badge.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/profiles/gpg_keys/_email_with_badge.html.haml')
-rw-r--r--app/views/profiles/gpg_keys/_email_with_badge.html.haml8
1 files changed, 8 insertions, 0 deletions
diff --git a/app/views/profiles/gpg_keys/_email_with_badge.html.haml b/app/views/profiles/gpg_keys/_email_with_badge.html.haml
new file mode 100644
index 00000000000..5f7844584e1
--- /dev/null
+++ b/app/views/profiles/gpg_keys/_email_with_badge.html.haml
@@ -0,0 +1,8 @@
+- css_classes = %w(label label-verification-status)
+- css_classes << (verified ? 'verified': 'unverified')
+- text = verified ? 'Verified' : 'Unverified'
+
+.gpg-email-badge
+ .gpg-email-badge-email= email
+ %div{ class: css_classes }
+ = text