Merge pull request #1221 from theseyi/dataset-pii

updates styling on dataset pills
This commit is contained in:
Seyi Adebajo 2018-06-21 10:06:48 -07:00 committed by GitHub
commit 0c59f3c00f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 21 additions and 22 deletions

View File

@ -1,3 +1,4 @@
@import 'deprecated-dataset';
@import 'removed-dataset';
@import 'contains-personal-data';
@import 'dataset-pill';

View File

@ -0,0 +1,5 @@
.dataset-pill {
& + & {
margin-left: item-spacing(3);
}
}

View File

@ -5,33 +5,26 @@
<div class="row">
<div class="container">
{{#if model.removed}}
<span class="removed-dataset">REMOVED</span>
<span class="removed-dataset dataset-pill">
REMOVED
<sup>
<span
class="glyphicon glyphicon-question-sign"
title="This dataset has been removed">
{{tooltip-on-element
event="hover"
text="This dataset has been removed"
}}
</span>
</sup>
{{tooltip-on-element
event="hover"
text="This dataset has been removed"
}}
</span>
{{/if}}
{{#if datasetContainsPersonalData}}
<span class="pii-dataset">PII</span>
<span class="pii-dataset dataset-pill">
PII
{{tooltip-on-element
event="hover"
text="This dataset contains personally identifiable information"
}}
</span>
<sup>
<span
class="glyphicon glyphicon-question-sign"
title="This dataset contains personally identifiable information">
{{tooltip-on-element
event="hover"
text="This dataset contains personally identifiable information"
}}
</span>
</sup>
{{/if}}
{{#if model.deprecated}}