67 lines
1.2 KiB
Vue
67 lines
1.2 KiB
Vue
<template>
|
|
<div v-if="childContactName" class="merge-summary callout">
|
|
<h5 class="text-block-title">
|
|
{{ $t('MERGE_CONTACTS.SUMMARY.TITLE') }}
|
|
</h5>
|
|
<ul class="summary-items">
|
|
<li>
|
|
<span class="bullet">❌</span>
|
|
<span
|
|
v-html="
|
|
$t('MERGE_CONTACTS.SUMMARY.DELETE_WARNING', {
|
|
childContactName,
|
|
})
|
|
"
|
|
/>
|
|
</li>
|
|
<li>
|
|
<span class="bullet">✅</span>
|
|
<span
|
|
v-html="
|
|
$t('MERGE_CONTACTS.SUMMARY.ATTRIBUTE_WARNING', {
|
|
childContactName,
|
|
primaryContactName,
|
|
})
|
|
"
|
|
/>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
props: {
|
|
primaryContactName: {
|
|
type: String,
|
|
default: '',
|
|
},
|
|
childContactName: {
|
|
type: String,
|
|
default: '',
|
|
},
|
|
},
|
|
|
|
computed: {},
|
|
};
|
|
</script>
|
|
|
|
<style lang="scss" scoped>
|
|
.merge-summary {
|
|
margin-top: var(--space-normal);
|
|
}
|
|
|
|
.summary-items {
|
|
margin-left: 0;
|
|
list-style: none;
|
|
|
|
li {
|
|
margin-bottom: var(--space-smaller);
|
|
}
|
|
}
|
|
|
|
.bullet {
|
|
display: inline-block;
|
|
margin-right: var(--space-smaller);
|
|
}
|
|
</style>
|