diff options
author | Alexis Reigel <mail@koffeinfrei.org> | 2017-07-13 16:52:34 +0200 |
---|---|---|
committer | Alexis Reigel <mail@koffeinfrei.org> | 2017-07-27 15:45:26 +0200 |
commit | 312dc89a44642050a2224c1b780054828c819fd6 (patch) | |
tree | 95a70aa6d534dd2b0e42b14935d4dbe3efd6113b /app/views/profiles/gpg_keys/_email_with_badge.html.haml | |
parent | a03a6ff326300daafbd67fd32eaaa08a4b649395 (diff) | |
download | gitlab-ce-312dc89a44642050a2224c1b780054828c819fd6.tar.gz |
nicer email badges on the profile gpg page
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.haml | 8 |
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 |