mirror of
https://github.com/datahub-project/datahub.git
synced 2025-09-01 05:13:15 +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 'deprecated-dataset';
|
||||||
@import 'removed-dataset';
|
@import 'removed-dataset';
|
||||||
@import 'contains-personal-data';
|
@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="row">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
{{#if model.removed}}
|
{{#if model.removed}}
|
||||||
<span class="removed-dataset">REMOVED</span>
|
<span class="removed-dataset dataset-pill">
|
||||||
|
REMOVED
|
||||||
|
|
||||||
<sup>
|
{{tooltip-on-element
|
||||||
<span
|
event="hover"
|
||||||
class="glyphicon glyphicon-question-sign"
|
text="This dataset has been removed"
|
||||||
title="This dataset has been removed">
|
}}
|
||||||
{{tooltip-on-element
|
</span>
|
||||||
event="hover"
|
|
||||||
text="This dataset has been removed"
|
|
||||||
}}
|
|
||||||
</span>
|
|
||||||
</sup>
|
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
||||||
{{#if datasetContainsPersonalData}}
|
{{#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}}
|
||||||
|
|
||||||
{{#if model.deprecated}}
|
{{#if model.deprecated}}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user