mirror of
https://github.com/datahub-project/datahub.git
synced 2025-08-31 04:25:29 +00:00
Merge pull request #1221 from theseyi/dataset-pii
updates styling on dataset pills
This commit is contained in:
commit
0c59f3c00f
@ -1,3 +1,4 @@
|
||||
@import 'deprecated-dataset';
|
||||
@import 'removed-dataset';
|
||||
@import 'contains-personal-data';
|
||||
@import 'dataset-pill';
|
||||
|
@ -0,0 +1,5 @@
|
||||
.dataset-pill {
|
||||
& + & {
|
||||
margin-left: item-spacing(3);
|
||||
}
|
||||
}
|
@ -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}}
|
||||
|
Loading…
x
Reference in New Issue
Block a user