summaryrefslogtreecommitdiff
path: root/web-ui/app/templates/mails/full_view.hbs
diff options
context:
space:
mode:
authorCaio Carrara <ccarrara@thoughtworks.com>2016-03-22 16:08:07 -0300
committerCaio Carrara <ccarrara@thoughtworks.com>2016-03-22 16:31:29 -0300
commit74e9a6ac698d798c6f02d1c934862529866ed42e (patch)
treed12baa6436ee6de987053feaff4a62058bbc5898 /web-ui/app/templates/mails/full_view.hbs
parent9c45cbe26d1034e251c5ee72510309e807f633d0 (diff)
Issue #647: Refactor security labels stylesheet
This change refactor the stylesheet of security labels. Now it's following the BEM naming conventions. Also, as the code is pretty coupled between css and js, it was necessary some changes on javascript code to keep the previous i18n key and rename the css classes.
Diffstat (limited to 'web-ui/app/templates/mails/full_view.hbs')
-rw-r--r--web-ui/app/templates/mails/full_view.hbs11
1 files changed, 6 insertions, 5 deletions
diff --git a/web-ui/app/templates/mails/full_view.hbs b/web-ui/app/templates/mails/full_view.hbs
index 4c0863de..8c486275 100644
--- a/web-ui/app/templates/mails/full_view.hbs
+++ b/web-ui/app/templates/mails/full_view.hbs
@@ -8,12 +8,13 @@
<!-- TODO -->
<div class="column large-12 no-padding security-status">
{{#if signatureStatus}}
- <span class="{{signatureStatus}}">
- {{t signatureStatus }}
+ <span class="security-status__label {{ signatureStatus.cssClass }}">
+ {{t signatureStatus.label }}
</span>
- {{/if}} {{#if encryptionStatus}}
- <span class="{{encryptionStatus}}">
- {{t encryptionStatus }}
+ {{/if}}
+ {{#if encryptionStatus}}
+ <span class="security-status__label {{ encryptionStatus.cssClass }}">
+ {{t encryptionStatus.label }}
</span>
{{/if}}
</div>